Configure sudo without password for a user

If you'd prefer not to have to type a password to execute commands as root with sudo

Edit the /etc/sudoers
#visudo
or
#vi /etc/sudoers

add a line for your user in this case mine is "chris"

chris ALL=(root) NOPASSWD: ALL

:qw
#