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
1. Create a user
2. open the sudoers file
enter as follows
rajasekar ALL=(ALL) NOPASSWD: NOPASSWD: ALL