SUDO without password
The obvious thing to say first of all is SUDOing without a password is dangerous!
sudo visudo
At the bottom of the file add a line similar to:
peter ALL=NOPASSWD: ALL
The simply save the file.
What this says is:
Allow user 'peter' on ALL machines to run, with no password (NOPASSWD) ALL commands
sudo visudo
At the bottom of the file add a line similar to:
peter ALL=NOPASSWD: ALL
The simply save the file.
What this says is:
Allow user 'peter' on ALL machines to run, with no password (NOPASSWD) ALL commands