sudoers 

Send to Kindle
home » snippets » linux » sudoers



This file MUST be edited with the 'visudo' command as root.

Examples

jim     ALL=(ALL)    /bin/kill,/sbin/linuxconf, /usr/sbin/jim/

Above means that jim can act as anybody (the (ALL)) on any machine (the first ALL) and run only the listed programs.

jim     lnxserve=(paul,linda)   /bin/kill, /usr/sbin/jim/

Above means that jim can act as paul or linda on lnxserve and run only the listed programs.

Defaults:jim    !tty_tickets

Above means that tty_tickets are disabled for jim.