This is very useful if you have system that you need to run commend without keep typing su in the beginning of the command line and then enter the sudo password.
Bring up terminal and ssh into the system ssh your host ip -l username and then enter the psw
You will be in the ssh line on the remote system.
Type sudo visudo and then the psw
add this line to the end of the file and save and done.
username ALL=(ALL) NOPSSWD:ALL