10 lines
384 B
Plaintext
10 lines
384 B
Plaintext
|
|
# 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
|