sudo not working in konsole

Asked by n2fastbikes on 2008-04-27

The user permissions for sudo are not working. For example, when trying to edit or even read the grub bootloader file in Kubuntu 8.04 KDE4 as a normal user:

user@laptop:~$ cd /boot/grub
user@laptop:/boot/grub$ sudo vi menu.lst
[sudo] password for user:
user@laptop:/boot/grub$ cat menu.lst
cat: menu.lst: Permission denied
user@laptop:/boot/grub$

Even though I supply the root password nothing happens, i.e., vi is not invoked. However, if I logon to a command console as root, I can edit the files, etc. How do I correct the permissions?

Thanks in advance for any help.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu knetworkmanager Edit question
Assignee:
No assignee Edit question
Solved by:
n2fastbikes
Solved:
2008-04-27
Last query:
2008-04-27
Last reply:
2008-04-27
Bhavani Shankar (bhavi) said : #1

Hello:

Probably this is a sudoers /etc/sudoers problem

If you need help getting back into the admin group, try this:

http://www.psychocats.net/ubuntu/sudo

Hope it helps

Regards

Bhavani Shankar.

n2fastbikes (kidwell-one) said : #2

Problem solved! Thanks Bhavani