How to add a user to sudoers file?
I have an account named as Chankey (local user). I had to use some commands like viewing the shadow file etc. I tried it using sudo command
sudo vim /etc/shadow
It said:
Chankey is not in the sudoers file. This incident will be reported.
How can I add this user Chankey to the sudoers file?
I have an account named as Chankey (local user). I had to use some commands like viewing the shadow file etc. I tried it using sudo command
sudo vim /etc/shadow
It said:
Chankey is not in the sudoers file. This incident will be reported.
How can I add this user Chankey to the sudoers file?
No comments:
Post a Comment