[201911][sudoers] Add sonic_installer list to read-only commands (#4997)

`sonic_installer list` is a read-only command. Specify it as such in the sudoers file.

This will also ensure the new `show boot` command, which calls `sudo sonic_installer list` under the hood doesn't fail due to permissions.
This commit is contained in:
Joe LeVeque 2020-07-17 20:13:42 -07:00 committed by GitHub
parent 5591131bba
commit 52e45e823e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -32,6 +32,7 @@ Cmnd_Alias READ_ONLY_CMDS = /sbin/brctl show, \
/usr/bin/psuutil *, \
/usr/bin/sensors, \
/usr/bin/sfputil show *, \
/usr/bin/sonic_installer list, \
/usr/bin/teamshow, \
/usr/bin/vtysh -c show *, \
/bin/cat /var/log/syslog*, \