Skip to content

Commit 5822b42

Browse files
authored
[sudoers]: add ipintutil in sudoer file (sonic-net#6857)
This PR is port of sonic-net#6845 for 201911 show ip interfaces is enhanced recently to support multi ASIC platforms in this sonic-net/sonic-utilities#1437. The ipintutil script as to run as sudo user, to get the ip interface from each namespace. Add this script to the sudoer file so that show ip interface command is available for user with read-only permissions Signed-off-by: Arvindsrinivasan Lakshmi Narasimhan <[email protected]>
1 parent daecc34 commit 5822b42

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

files/image_config/sudoers/sudoers

+1
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ Cmnd_Alias READ_ONLY_CMDS = /sbin/brctl show, \
2727
/usr/bin/docker exec * ps aux, \
2828
/usr/bin/docker ps*, \
2929
/usr/bin/generate_dump, \
30+
/usr/bin/ipintutil, \
3031
/usr/bin/lldpctl, \
3132
/usr/bin/lldpshow, \
3233
/usr/bin/psuutil *, \

0 commit comments

Comments
 (0)