Skip to content

Commit 5b64d82

Browse files
zjswhhhmssonicbld
authored andcommitted
[sudoers] add /usr/local/bin/storyteller to READ_ONLY_CMDS (sonic-net#13422)
Adding /usr/local/bin/storyteller to READ_ONLY_CMDS. So no write access or prompt for password is needed to run storyteller. Tested on 202205 clusters, user who didn't request write access was able to grep log using storyteller. sign-off: Jing Zhang [email protected]
1 parent f9d0f25 commit 5b64d82

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

files/image_config/sudoers/sudoers

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@ Cmnd_Alias READ_ONLY_CMDS = /bin/cat /var/log/syslog*, \
4242
/usr/local/bin/pcieutil *, \
4343
/usr/local/bin/psuutil *, \
4444
/usr/local/bin/sonic-installer list, \
45-
/usr/local/bin/sfputil show *
45+
/usr/local/bin/sfputil show *, \
46+
/usr/local/bin/storyteller *
4647

4748

4849
Cmnd_Alias PASSWD_CMDS = /usr/local/bin/config tacacs passkey *, \

0 commit comments

Comments
 (0)