tests: fix sudo rule order.

pull/193/head
David Wilson 7 years ago
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…
Cancel
Save