Quote:
Originally Posted by cnieland
Is there a decent guide on how to set up sudo user for dhcpd?
|
No, because that's not what SUDO is. SUDO is a mechanism to allow a regular user to have elevated privileges for some command(s). So, as said, set up that one use to ONLY have rights to run some commands, like "vi /etc/dhcpd.conf", or whatever else you'd like them to be able to do. From there, they just have to type in "sudo <command name>", and it works. They can't do ANYTHING else as root, and all use of those commands would be tied back to the user in the sudo logs.
There are many threads on here that deal with setting up sudo to just run certain commands...take a quick search, and I'm sure you'll find them. And again, if you set up webmin, you can give access to only the DHCP and DNS modules to certain users, and do the same thing, only through a web browser GUI.