SUDO DONT WORK!!!

Associate
Joined
9 May 2007
Posts
827
chi is not in the sudoers file. This incident will be reported.

this happens when i try to use sudo in ubuntu 8.04, i searched on the web and i found this:

http://ubuntuforums.org/showthread.php?t=107940

but the problem is i can get to the root and visudo file, but then when i start to type its doggey characters some times show up when i type some times dont. so i press s 5 times and only comes up once. anywayz i typed in
chi ALL=(ALL) ALL

but then how on earth do i save it!!??? i don't see no instructions or anything. =.=

oh btw it sudo worked before....
 
Never used visudo but if it's using the same commands as vi then you can save the file by typing :w (to write the file). You quit by typing :q (to quit). You can combine these 2 together and type :wq (to simultaneously write and quit vi).

You may find that you need to press escape to get into the command mode. This is because you're in the insert mode, whereby the :w would appear as text in the file, instead of being treated as a command.

thanks ubuntu forums said the same thing but u explained what they mean :D ty
 
Back
Top Bottom