Skip to content

Commit

Permalink
[sudoer] Enable read-only commands for all users (#1558)
Browse files Browse the repository at this point in the history
  • Loading branch information
taoyl-ms authored Apr 19, 2018
1 parent d423841 commit 8153ce7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions files/image_config/sudoers/sudoers
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 8153ce7

Please sign in to comment.