Thursday 23 February 2012

Sudo without password on Fedora


Question: How to use sudo without password on Fedora?



Answer:
Open terminal and enter the following command :
sudo vi  /etc/sudoers

Add this line at the end (change “pirat9” to your username):
pirat9 ALL=(ALL) NOPASSWD: ALL
Ctrl-X to leave, save your changes, and you’re done!
This  method  worked fine in  my  Fedora.

No comments:

Post a Comment