Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

allow sudo without password

example for current user (executing from user)

Code Block
echo "`whoami`    ALL=(ALL:ALL) NOPASSWD: ALL" |sudo tee /etc/sudoers.d/`whoami`

...