how a user can be added to sudoers file.
how a user can be added to sudoers file
|
run the command visudoer.
It will allow you to edit the file. Of course you likely have to have privledges. |
Quote:
|
Also, be sure that to become root you use
Code:
su - |
trickykid: Thanks for correcting me on that one. My mistake.
|
Most distro's have a group named "wheel" and you just need to make the user a member of the wheel group. Then look for the line near the end of the sudoers file with "%wheel". On a new installation you may need to uncomment the line.
Change the line like: Code:
# Uncomment to allow people in group wheel to run all commands Code:
# Uncomment to allow people in group wheel to run all commands |
All times are GMT -5. The time now is 12:26 PM. |