Skip to content

Commit 72b8284

Browse files
authored
Update sonic-utilities submodule; Add commands to sudoers as necessary (#608)
1 parent d70e973 commit 72b8284

2 files changed

Lines changed: 8 additions & 1 deletion

File tree

files/image_config/sudoers/sudoers

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,14 @@ Defaults env_keep += "VTYSH_PAGER"
1818
# Cmnd alias specification
1919
# Note: bcmcmd is dangerous for users in read only netgroups because it may operate ASIC
2020
Cmnd_Alias READ_ONLY_CMDS = /usr/bin/decode-syseeprom, \
21+
/usr/bin/docker images *, \
22+
/usr/bin/docker exec -it snmp cat /etc/snmp/snmpd.conf, \
23+
/usr/bin/docker exec -it bgp cat /etc/quagga/bgpd.conf, \
2124
/usr/bin/generate_dump, \
25+
/usr/bin/lldpctl, \
26+
/usr/bin/lldpshow, \
27+
/usr/bin/sensors, \
28+
/usr/bin/sfputil, \
2229
/usr/bin/vtysh -c show *, \
2330
/bin/cat /var/log/syslog, \
2431
/usr/bin/tail -f /var/log/syslog

src/sonic-utilities

0 commit comments

Comments
 (0)