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:

  1. SquirrelMail with Strong password
  2. Password Protecting USB Pen Drive.
  3. Rescue Ubuntu after Windows installation.
  4. SSH / SCP key authentication

Subscribe to LinuxReaders

rss twitter mail google buzz facbook stumble digg

2 Comments

  1. Sarath says:

    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

  2. Hi, I agree with your comment.

Leave a Reply