[sudoer] Enable read-only commands for all users (#1558)
This commit is contained in:
parent
d42384168c
commit
8153ce7f05
@ -37,6 +37,9 @@ Cmnd_Alias PASSWD_CMDS = /usr/bin/config tacacs passkey *, \
|
||||
# User privilege specification
|
||||
root ALL=(ALL:ALL) ALL
|
||||
|
||||
# Allow all users to execute read only commands
|
||||
ALL ALL=NOPASSWD: READ_ONLY_CMDS
|
||||
|
||||
# Allow members of group sudo to execute any command
|
||||
%sudo ALL=(ALL:ALL) NOPASSWD: ALL
|
||||
|
||||
|
Reference in New Issue
Block a user