Ubuntu- Sudo without password
I am Linux Admin, my routine job is to maintain proxy, nagios & mail server. I always use root user for my servers. Thus I am used to full rights.
But when it comes to perform admin task on my Ubuntu PC I have no better choice than sudo / su. With the following method I avoid entering password.
There is small configuration change required to avoid sudo prompting password.
cd /etc/
chmod 0740 sudoers
vi sudoers
enter ALL ALL=NOPASSWD: ALL at the end of configuration file.
chmod 0440 sudoers
Related posts:


I enjoyed a few of your articles, but this aint one of them.
DONT do this. This kind of tweaking is not really *adminy* . A true Admin would rather kill the terminal he sudo-ed in, to be even sure.
http://blog.sarathonline.com/2009/09/dont-sudo-without-password.html
Hi, I agree with your comment.