How to disable sudo password prompt in Linux

well, sometimes i want to execute commands as super user without being asked for password each time to do that

to do that its pretty easy

open the terminal and type this command :

sudo visudo

and uncomment the following line :


save the file by pressing escape then typing :wq and pressing enter.

from now on you will not be asked when executing the command as super user using sudo.


Leave a Comment

NOTE - You can use these HTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" highlight="">