Search Our Database
How To “Sudo” Without Password In Ubuntu
If it is too troublesome to key in your password each time you run a “sudo” command, you can disable it by amending your configuration file on your web server.
Step 1 – Access and log in to your web server via SSH.
Step 2 – Run the following command on your server’s SSH terminal.
Step 3 – Add the following code at the bottom of the file, replace “username” with your username.
username ALL=(ALL) NOPASSWD: ALL
Step 4 – Save and exit.