PDA

View Full Version : problem with sudo



waellinux
04-29-2005, 02:08 AM
after installing knoppix 3.7 on harddisk i can not use the command sudo anymore
when i write sudo then the command the process is terminate .for example

waelali@box:~$ sudo mkdir r
waelali is not in the sudoers file. This incident will be
reported
by th way my username is waelali
now i have to write
su:
password

please help me!!!! :(

sd5867
04-29-2005, 05:26 AM
Waelai, now that you have installed Knoppix to the Hdd, you have also created an additional user. Originally when booting from CD, your user name was knoppix, wether or not you knew it.

In order to regain the sudo privliges, login to a console as root, or simply use su to get root.
Edit /etc/sudoers
Add the line waelai ALL(ALL)=ALL

I believe that is it, just make it match root, and you will once again have sudo privliges.

SD

waellinux
04-30-2005, 05:36 PM
thanx man i did what u told me with alittle change
waelali ALL=ALL(ALL)
and everything is perfect
thank u again