Suders quick reference

From thelinuxwiki
Revision as of 19:01, 25 February 2013 by Nighthawk (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.