Update sonic-utilities submodule; Add commands to sudoers as necessary (#608)

This commit is contained in:
Joe LeVeque 2017-05-17 13:02:17 -07:00 committed by GitHub
parent d70e973496
commit 72b8284e57
2 changed files with 8 additions and 1 deletions

View File

@ -18,7 +18,14 @@ Defaults env_keep += "VTYSH_PAGER"
# Cmnd alias specification
# Note: bcmcmd is dangerous for users in read only netgroups because it may operate ASIC
Cmnd_Alias READ_ONLY_CMDS = /usr/bin/decode-syseeprom, \
/usr/bin/docker images *, \
/usr/bin/docker exec -it snmp cat /etc/snmp/snmpd.conf, \
/usr/bin/docker exec -it bgp cat /etc/quagga/bgpd.conf, \
/usr/bin/generate_dump, \
/usr/bin/lldpctl, \
/usr/bin/lldpshow, \
/usr/bin/sensors, \
/usr/bin/sfputil, \
/usr/bin/vtysh -c show *, \
/bin/cat /var/log/syslog, \
/usr/bin/tail -f /var/log/syslog

@ -1 +1 @@
Subproject commit f31087a030e685c6e1bcbdfa49d7a322c7f3d66a
Subproject commit 70fd4fab6a4745052f3b19b04de0588031b29b22