Skip to content

[show] Call teamshow using sudo in 'show interfaces portchannel'#524

Merged
jleveque merged 2 commits intosonic-net:masterfrom
jleveque:call_teamshow_with_sudo
Apr 30, 2019
Merged

[show] Call teamshow using sudo in 'show interfaces portchannel'#524
jleveque merged 2 commits intosonic-net:masterfrom
jleveque:call_teamshow_with_sudo

Conversation

@jleveque
Copy link
Contributor

  • Also modify teamshow to print a message and exit if it is not run as root.

  • NOTE: This change will also require a modification to the sudoers file in sonic-buildimage to be complete.

@jleveque jleveque added the Bug label Apr 30, 2019
@jleveque jleveque self-assigned this Apr 30, 2019
@jleveque jleveque requested a review from stcheng April 30, 2019 21:26
@jleveque jleveque merged commit 8d97400 into sonic-net:master Apr 30, 2019
@jleveque jleveque deleted the call_teamshow_with_sudo branch April 30, 2019 23:59
yxieca pushed a commit that referenced this pull request May 1, 2019
* teamshow now also prints message and exits if not run as root
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.

2 participants