Friday, April 20, 2012

Add an user to sudoers


chmod +w /etc/sudoers
 echo 'sourav ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers
 chmod -w /etc/sudoers
 exit

No comments:

Post a Comment