|
/etc/sudoers parse error
Hi
The first indication I had of this problem, was Synaptic refused to run.
In terminal, typing sudo apt-get install packagename, I got this response
sudoers file: syntax error, line 1 <<<
sudo: parse error in /etc/sudoers near line 1
I've searched various forums, and learnt a little about visudo, and booting recovery mode , and entering the root shell to run visudo, but I can't see what the problem is, and also how to edit it, and save the edits.
Trying to run visudo in a terminal brings these responses
alf@Laptop:~$ visudo
visudo: /etc/sudoers: Permission denied
alf@Laptop:~$ su visudo
Unknown id: visudo
I'm running kubuntu, based on ubuntu 8.04
Alf
|