To sudo with a non sudoer user without password:

Make the changes in the sudoers file as below:

visudo

%admin ALL=(ALL) NOPASSWD: ALL

%sudo ALL=(ALL:ALL) NOPASSWD: ALL

Advertisements