![]() |
need HELP with editing sudoers file
Every time i use the su apt-get command i get the message " (username) is not in the sudoers file. My question is, how do i edit the sudoers file?
|
Just run the
Code:
# visudo Code:
username ALL=(ALL) |
I would change that to
Code:
username ALL=PASSWD:ALL Code:
export EDITOR=nano && visudo |
Check if your debian system has the "wheel" group. If so add yourself to the "wheel" group and then use "visudo" as root to uncomment the line near the bottom:
Code:
# Uncomment to allow people in group wheel to run all commands I don't know if nano is acceptable for visudo. Error detection may be bypassed. |
Umm, where did he say debian?
If debian, from man visudo: Quote:
|
All times are GMT -5. The time now is 12:56 PM. |