Improve sudo cat command for RO user. Manually cherry-pick for #14428
This commit is contained in:
parent
a13d460bbb
commit
e5c6c2f9b9
@ -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 *, \
|
||||
|
Reference in New Issue
Block a user