Suders quick reference

From thelinuxwiki
Jump to: navigation, search

allowing a specific group to run specific commands

%admin ALL=(ALL) NOPASSWD:/etc/init.d/somecommand [A-z]*

where:

%admin - All users of the admin group

ALL= - from any Host/IP

(ALL) - can run as any user

NOPASSWD - with no password required

/etc/init.d/somecommand - the list of comma, separated, applications.