Tuesday, February 21, 2012

How to avoid sudo password

How to avoid sudo password

When you are logged in as a user other then root and execute a privileged action or action related to privileged resource using "sudo" command, then a "sudo" password is requested .

You face two challenges mainly during this act:

* During a system or configuration setup you can see frequently system is prompting for "sudo" password

* Also you need to execute the command with the full path name.

To overcome this you can login as the "sudo" user and execute the below command.

$ sudo bash

This command will ensure the running shell is supplied with sudo credential, so it won't bother you asking for credential again.

Enjoy Configuring!!!!!!!!

No comments:

Post a Comment