User name not found in Sudoers file.
Try this, it will definitely help you
- Start terminal
- apply following commands $ su -
- open
sudoers file with $ vi /etc/sudoers
or $ gedit /etc/sudoers
Note : recommended is vi . - Add entry with user name i.e <user name> ALL = (ALL)ALL or what permission you want to give
- chmod u-w /etc/sudoers
$ chmod u+rw /etc/sudoers
That's it .
0 comments:
Post a Comment