Skip to content

[201911][baseimage] add ipintutil in sudoer file#6857

Merged
lguohan merged 1 commit intosonic-net:201911from
arlakshm:sudoer_ip_int
Feb 23, 2021
Merged

[201911][baseimage] add ipintutil in sudoer file#6857
lguohan merged 1 commit intosonic-net:201911from
arlakshm:sudoer_ip_int

Conversation

@arlakshm
Copy link
Copy Markdown
Contributor

Signed-off-by: Arvindsrinivasan Lakshmi Narasimhan arlakshm@microsoft.com

Why I did it

This PR is port of #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

How I did it

Add script ipintutil to the read-only allowed commands list.

How to verify it

Which release branch to backport (provide reason below if selected)

  • 201811
  • 201911
  • 202006
  • 202012

Description for the changelog

A picture of a cute animal (not mandatory but encouraged)

Signed-off-by: Arvindsrinivasan Lakshmi Narasimhan <arlakshm@microsoft.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants