Edit the the sudo user list using the command
'visudo'
under the line that looks like the following:
root ALL=(ALL) ALL
Add the following
joseph ALL=(ALL) ALL // Here joseph is the user which is to be added to the sudo user list
You can go to root prompt by
sudo -s
or
sudo -i
provided you have access permission
'visudo'
under the line that looks like the following:
root ALL=(ALL) ALL
Add the following
joseph ALL=(ALL) ALL // Here joseph is the user which is to be added to the sudo user list
You can go to root prompt by
sudo -s
or
sudo -i
provided you have access permission
No comments:
Post a Comment