[sudo-users] share a sudoers file

DietrichT at schneider.com DietrichT at schneider.com
Tue Nov 22 12:39:51 EST 2005


We also manage our sudoers file in the same manner that Russel described
below.   We have one master copy, and then we use a cron script to scp the
master file to all of our other servers.

Thanks,
Tim
--------------------------------------------------
Tim Dietrich
Information Security Team
Schneider National, Inc.



                                                                           
             Russell Van                                                   
             Tassell                                                       
             <russell+sudo-use                                          To 
             rs at loosenut.com>          Mark F <mfaine at knology.net>         
             Sent by:                                                   cc 
             sudo-users-bounce         sudo-users at sudo.ws                  
             s at courtesan.com                                       Subject 
                                       Re: [sudo-users] share a sudoers    
                                       file                                
             11/22/2005 11:21                                              
             AM                                                            
                                                                           
                                                                           
                                                                           
                                                                           




On Mon, Nov 21, 2005 at 03:15:20PM -0600, Mark F wrote:
> I'd like to share a sudoers file on a smb share amongst several Linux
> boxes.  I thought to put it by itself in the share and set a symlink,
> /etc/sudoers to point to /my/shared/directory/sudoers but visudo
> overwrites the symlink?  How is this normally done?
>
> Thanks,
> -Mark

Well, it can be done, but what happens if the SMB share is unavailable?
Myself, I have one "master" system that has a local copy of the sudoers
files in it's default place (you can compile it to go elsewhere, too, if
you're so inclined) then use a distribution mechanism to send out local
copies to all machines that need one.  You only need "visudo" to manage
the lock and manage the "safety" and syntax of the file (ie. good
practice in a place where you have multiple admins making modifications
to systems).  Hope that helps...

Russell

--
Russell M. Van Tassell
russell at loosenut.com

"I do not fear love but I fear what comes next.  I fear when it does not
 come at all.  I fear the extreme and the feeling of loss."
                                                      - Douglas Coupland
____________________________________________________________
sudo-users mailing list <sudo-users at sudo.ws>
For list information, options, or to unsubscribe, visit:
http://www.sudo.ws/mailman/listinfo/sudo-users





More information about the sudo-users mailing list