Hi,
In this post I am going to discuss about adding a user in Super do in linux shortly "sudo".
There are situations in linux which demands creation of users, as a user we normally create a user and associate a password to it with all default options...but there are some rare situations which demands for having that user in sudo list.
The benefit of having a user in sudo list is that the user is mocked as a root user and perform some actions which can be done only as root.
This particular post is dedicated for making a user sudo.
Let us assume we have a user account created as below and with all default options and yet to add in sudo list...
Username : ravaneswaran
password : linuxuser
the command to make this user in sudo list is as follows...
Now how to confirm that the user "ravaneswaran" has sudo privilages
To verify
1. Open a terminal window and login as "ravaneswaran"
2. Use the following command to check whether user "ravaneswaran" is in sudo list.
the above command would prompt you to provide the password associated...provide the one associated with the user account.
Now you would something like the one shown in the image below...
With this we have concluded this post of adding a user in sudo list.
Thanks for reading.
Have great time ahead.
No comments:
Post a Comment