Centralized sudo sudoers file?
Posted
by
Stefan Thyberg
on Server Fault
See other posts from Server Fault
or by Stefan Thyberg
Published on 2009-12-03T13:43:53Z
Indexed on
2012/12/06
5:08 UTC
Read the original article
Hit count: 469
I am the admin of several different servers and currently there is a different sudoers file on each one. This is getting slightly out of hand as quite often I need to give someone permissions to do something with sudo but it only gets done on one server. Is there an easy way of editing the sudoers file just on my central server and then distributing it by SFTP or something like that to the other servers in an easy way?
Mostly wondering how other sysadmins solve this problem, since the sudoers file doesn't seem to be remotely accessible with NIS, for example.
Operating system is SUSE Linux Enterprise Server 11 64-bit, but it shouldn't matter.
EDIT: Every machine will, for now, have the same sudoers file.
EDIT2: The accepted answer's comment was the closest to what I actually went ahead and did. I am right now using an SVN-supported puppet-installation and after a few headaches, it's working very well.
© Server Fault or respective owner