1

I've followed the instructions at https://askubuntu.com/a/281093/546023 to unset my user's password and it all worked just fine.

In addition I have added the following line in sudoers

myusername ALL=(ALL) NOPASSWD:ALL

However whenever I do service someservice restart it asks me for a password. What's worse no password works. In order to get it to work I need to always do sudo service someservice restart. Note that sudo never requires a password now.

Am I doing something wrong?

This is how my user settings look like right now:

enter image description here

apokryfos
  • 113

0 Answers0