Skip to content

Commit

Permalink
[sudoers] Add 'SONIC_CLI_IFACE_MODE' to env_keep to ensure variable i…
Browse files Browse the repository at this point in the history
…s made available to sudo calls (#2249)
  • Loading branch information
jleveque authored Nov 15, 2018
1 parent 4531159 commit f126000
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions files/image_config/sudoers/sudoers
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
Defaults env_reset
#Defaults mail_badpass
Defaults secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
Defaults env_keep += "SONIC_CLI_IFACE_MODE"
Defaults env_keep += "VTYSH_PAGER"
Defaults lecture_file = /etc/sudoers.lecture

Expand Down

0 comments on commit f126000

Please sign in to comment.