View Single Post
Posts: 79 | Thanked: 21 times | Joined on Sep 2007
#3
You can make sudo ask for the password of the user to which you are changing instead of the one from which you are changing. This can be achieved by putting
Code:
Defaults targetpw
to the beginning of /etc/sudoers. Then you can sudo to root even if user doesn't have a password.
 

The Following User Says Thank You to tvogel For This Useful Post: