[sudoers]: add ipintutil in sudoer file (#6857)

This PR is port of #6845 for 201911

show ip interfaces is enhanced recently to support multi ASIC platforms in this Azure/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 <arlakshm@microsoft.com>
This commit is contained in:
arlakshm 2021-02-23 13:26:53 -08:00 committed by GitHub
parent daecc34180
commit 5822b42fdb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -27,6 +27,7 @@ Cmnd_Alias READ_ONLY_CMDS = /sbin/brctl show, \
/usr/bin/docker exec * ps aux, \ /usr/bin/docker exec * ps aux, \
/usr/bin/docker ps*, \ /usr/bin/docker ps*, \
/usr/bin/generate_dump, \ /usr/bin/generate_dump, \
/usr/bin/ipintutil, \
/usr/bin/lldpctl, \ /usr/bin/lldpctl, \
/usr/bin/lldpshow, \ /usr/bin/lldpshow, \
/usr/bin/psuutil *, \ /usr/bin/psuutil *, \