Send Close Add comments: (status displays here)
Got it!  This site uses cookies. You consent to this by clicking on "Got it!" or by continuing to use this website.nbsp; Note: This appears on each machine/browser from which this site is accessed.
Visudo


1. Visudo

2. Visudo
It can be annoying to have to continually input your password every time you want to do a sudo action.

If you have your own system, you may want to automate that process so that when using sudo you need not provide your password.

Start the process with the following command. This will edit the proper file and then, after changed, will check it for issues. If there are no detected issues, the changed file will be installed. The following Linux command(s) edit the visudo configuration file.
sudo visudo

Then make the following changes in the editor by adding the following line at the end of the file.
robin ALL=(ALL) NOPASSWD: ALL

Remember to use your user name and not robin.

Centos will want to use the vim text editor and not nano.

Save the file and exit by pressing Escape, typing ":wq" and then pressing Enter.

3. End of page