login as root

edit sudoers file:

chmod +w /etc/sudoers
vi /etc/sudoers
chmod -w /etc/sudoers

change the following line:

# Allow members of group sudo to execute any command
%sudo	ALL=(ALL:ALL) ALL

to

# Allow members of group sudo to execute any command
%sudo	ALL=(ALL:ALL) NOPASSWD:ALL