[sudo-users] Re: share a sudoers file

Mark F mfaine at knology.net
Tue Nov 22 12:27:50 EST 2005


Russell Van Tassell wrote:
> 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
> 
Thanks,

That sounds like a better way to approach the problem.  What 
distribution mechanism do you use?

-Mark




More information about the sudo-users mailing list