- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- sudo 1.6.8p9 - want to change sudoers file locatio...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2006 07:45 AM
01-04-2006 07:45 AM
Looks like you have to re-compile it to change this location, can someone confirm that ?
Also, anyone know of any issues having a sudoers file on a NFS mount, besides the obvious issue of the NFS server being down.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2006 07:57 AM
01-04-2006 07:57 AM
Re: sudo 1.6.8p9 - want to change sudoers file location
If that doesn't work then compiling the package from source is your only other option if you want the sudoers on the NFS mount.
Another option you may be using something like rdist to distribute copies of the sudoers file from a central server to all other servers that need it.
I would lean more towards the rdist process. If the NFS server happened to be down, then sudo would be pretty useless since it wouldn't have access to the sudoers file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2006 07:59 AM
01-04-2006 07:59 AM
Re: sudo 1.6.8p9 - want to change sudoers file location
There shouldn't be a technical issue with having it NFS mounted other than the NFS server failure possibility you mentioned knocking out sudo ability on all servers... and depending whether you're using soft or hard mounts, that potential failure causing hung processes.
From a security perspective, there might be a concern about sudoer configuration being controlled by a sudoers file on another server.
Jeff Traigle
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2006 08:25 AM
01-04-2006 08:25 AM
SolutionWe kept a master copy of the sudoers file in a central location (that only us sysadms could get to) and when a change was made we would copy it out to all the servers using rdist. Other options are rcp, scp, ftp, etc...
No worry about NFS mounts, no worries about which copy belongs to which server, no worries about compile options for each server, etc...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2006 02:27 PM
01-04-2006 02:27 PM
Re: sudo 1.6.8p9 - want to change sudoers file location
sudoers might be changed an average of once or twice a week so an scp of the file using a central server as the reference machine means that all 70 machines can be updated in less than 1 minute. Like any (good) automated update script, it should check that the updated file was correctly received (correct size and checksum).
Bill Hassell, sysadmin