Skip to content

Commit

Permalink
Improve sudo cat command for RO user. (#14428) (#14437)
Browse files Browse the repository at this point in the history
Improve sudo cat command for RO user.
Manually cherry-pick for #14428
  • Loading branch information
liuh-80 authored Apr 5, 2023
1 parent a13d460 commit e5c6c2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion files/image_config/sudoers/sudoers
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Cmnd_Alias READ_ONLY_CMDS = /sbin/brctl show, \
/usr/bin/vtysh -c show bgp ipv[46] summary json, \
/usr/bin/vtysh -n [0-9] -c show version, \
/bin/ip netns identify [0-9]*, \
/bin/cat /var/log/syslog*, \
/bin/cat /var/log/syslog, /bin/cat /var/log/syslog.1 /var/log/syslog, /bin/cat /var/log/syslog.1, \
/usr/bin/tail -F /var/log/syslog

Cmnd_Alias PASSWD_CMDS = /usr/bin/config tacacs passkey *, \
Expand Down

0 comments on commit e5c6c2f

Please sign in to comment.