How to disable the sudo password prompt

sudo

I've managed to disable PermitRootLogin in my sshd_config file for security reasons. My new user is in the sudoers file, but every time I have to use the sudo bash command I must enter my password if I want to do installing and other system stuff.

Is it possible to automatically enter or disable entering a root password and still be root as my new user?

Best Answer

Try

user    ALL=(ALL) NOPASSWD:    ALL