Posts Tagged ‘Linux’

How To: Sudo without password

You feel bored of being asked the same question every time when  sudo asking for the password, as you know you can’t log-in as a root in Ubuntu, so sudo is used almost all the time, well to configure sudo not to ask for a password there are two ways the easy one is to run visudo, this command is to edit the list of sudoers list (sudo users).

The harder way to do it is to edit the file /etc/sudoers

nano /etc/sudoers

Add the following to the end of the file:

username ALL=(ALL) NOPASSWD: ALL

Note:  It should be the last line in the file, username is your Ubuntu username.

It will work on almost any Linux ditribution

Post to Twitter Post to Delicious Post to Facebook

Seek in here
Translator
Archive

Twitter links powered by Tweet This v1.7.1, a WordPress plugin for Twitter.