Monday 5 March 2012

Avoid Password Prompt When Executing The Sudo Command

If local user want to execute a command using sudo and does not want the password prompt then

1. Create a user
2. open the sudoers file 

enter as follows

rajasekar ALL=(ALL)       NOPASSWD: NOPASSWD: ALL