Sunday, 3 March 2013

Add user in sudoers file

User name not found in Sudoers file.

Try this, it will definitely help you

  1. Start terminal
  2. apply following commands
  3.      $ su -
         $ chmod u+rw /etc/sudoers
  4. open
        sudoers file with  $ vi /etc/sudoers
                          or       $ gedit /etc/sudoers
  5. Note : recommended is vi .
  6. Add entry with user name i.e <user name> ALL = (ALL)ALL
  7.     or what permission you want to give
  8. chmod u-w /etc/sudoers

That's it .
Continue reading Add user in sudoers file