[sudoers] Add 'docker ps' to READ_ONLY_CMDS (#1259)

This commit is contained in:
Joe LeVeque 2017-12-21 11:03:08 -08:00 committed by GitHub
parent db49660b86
commit c898a04b28
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,6 +21,7 @@ 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/docker ps, \
/usr/bin/generate_dump, \
/usr/bin/lldpctl, \
/usr/bin/lldpshow, \