tests: fix sudo rule order.
This commit is contained in:
parent
9eacf8faa9
commit
41d2661ecb
|
@ -1,8 +1,9 @@
|
|||
|
||||
# https://www.toofishes.net/blog/trouble-sudoers-or-last-entry-wins/
|
||||
%mitogen__sudo_nopw ALL=(ALL:ALL) NOPASSWD:ALL
|
||||
mitogen__has_sudo_nopw ALL = (mitogen__pw_required) ALL
|
||||
mitogen__has_sudo_nopw ALL = (mitogen__require_tty_pw_required) ALL
|
||||
|
||||
Defaults>mitogen__pw_required targetpw
|
||||
Defaults>mitogen__require_tty requiretty
|
||||
Defaults>mitogen__require_tty_pw_required requiretty,targetpw
|
||||
|
||||
%mitogen__sudo_nopw ALL=(ALL:ALL) NOPASSWD:ALL
|
||||
|
|
Loading…
Reference in New Issue