Improve sudo cat command for RO user. RO user can use sudo command show none syslog files.
This commit is contained in:
parent
ef76e82e40
commit
273ca3555a
@ -36,7 +36,7 @@ Cmnd_Alias READ_ONLY_CMDS = /sbin/brctl show, \
|
||||
/usr/bin/vtysh -c show version, \
|
||||
/usr/bin/vtysh -c show bgp ipv[46] summary json, \
|
||||
/usr/bin/vtysh -n [0-9] -c show version, \
|
||||
/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 *, \
|
||||
|
Loading…
Reference in New Issue
Block a user