How to disable password prompts in Ubuntu

This tutorial will explain How to disable password prompts in Ubuntu

Note:- Disabling password prompts might be a security risk

Open the terminal window from Applications --> accessories --> terminal, run the command:

sudo visudo

Find the line that says

%admin ALL=(ALL) ALL

and change it to

%admin ALL=(ALL) NOPASSWD: ALL

Save and exit the file

Sponsored Link

Incoming search terms:

Related posts

68 thoughts on “How to disable password prompts in Ubuntu

  1. I tried this on Ubuntu 14.04lts and found that I had to move the file /etc/sudoers into /etc/sudoers.d/sudoers

    so after following the instructions posted November 17 2009 by ruchi and exiting from visudo, enter the following. Once you do that, you’re good to go!

    sudo mv /etc/sudoers /etc/sudoers.d/sudoers

    [Reply]

Leave a comment

Your email address will not be published. Required fields are marked *