Ubuntu won’t ask for your sudo password anymore
August 10, 2009 | linuxauthor: Karol Zielinski | comments: 0 | views: 560
Tags: linux, root, sudo, ubuntu
Launch a terminal window and …
sudo visudo
The command will prompt your for your password. Enter it one last time. The configuration file will open in a text editor. Scroll down to the end of the file and add the following line:
username ALL=NOPASSWD: ALL
Replace username with the username of the user you want to allow a passwordless sudo. So if the user is ‘user’, you would enter:
user ALL=NOPASSWD: ALL
Save and exit the file. Log out, log in as the user ‘user’ and test out your new passwordless sudo.
based on: simplehelp.net
Hello, I'm Karol Zielinski, internet evangelist, an entrepreneur, project manager and a web developer from Gdynia, Poland. I like creative design, good advertisement, social media and all kind of stuff around the web.