sudo User Format with Alias

sudo users file format is as follows:

user machine=(effective user) commands

Aliases in any part are allowed and reference via all CAPS; UNIX group names are started with %.

User_Alias ADMINS=rob,jim,joep

root ALL=(ALL) ALL
joep elvis=(www) /bin/safe_mysqld,/usr/bin/top
ADMINS ALL=(bind) ALL
%staff ALL=(guest) ALL

Advertisements

Comments are closed.

%d bloggers like this: