sudo not working in konsole

Asked by n2fastbikes

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:
Last query:
Last reply:
Revision history for this message
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.

Revision history for this message
n2fastbikes (kidwell-one) said :
#2

Problem solved! Thanks Bhavani