PDA

View Full Version : [ubuntu] I really need help



Sethdd
December 18th, 2009, 05:27 AM
whenever i try to do anything that requires a password this message pops up.
"The underlying authorization mechanism (sudo) does not allow you to run this program. Please contact the system administrator."

jamieleshaw
December 18th, 2009, 05:31 AM
Try this 'adduser your_username admin' in the terminal.

Sethdd
December 18th, 2009, 05:32 AM
It says
"Only root may add a user or group to the system."

jamieleshaw
December 18th, 2009, 05:33 AM
Type 'su root' then type 'adduser your_username admin'

Sethdd
December 18th, 2009, 05:35 AM
okay, now it says
"seth is not in the sudoers file. This incident will be reported."
?

jamieleshaw
December 18th, 2009, 05:35 AM
crap sorry again ummm, I'll let someone else help you wth this one.

HereInOz
December 18th, 2009, 05:37 AM
Try this:

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

Hope this helps.

Without sudo priviledges, you may need to boot using a Live CD, then mount the hard disk and make any changes that way. It could be a fun time.

prshah
December 18th, 2009, 07:06 AM
Boot into "Recovery Mode" (Select from the GRUB menu). If you get another menu, choose "Root terminal" (Or equivalent therof) to land up at a command prompt. Then give the adduser command as suggested earlier. No need to add "sudo". Then give the command
reboot boot normally, and you should have sudo access.

jamieleshaw
December 18th, 2009, 08:19 AM
Boot into "Recovery Mode" (Select from the GRUB menu). If you get another menu, choose "Root terminal" (Or equivalent therof) to land up at a command prompt. Then give the adduser command as suggested earlier. No need to add "sudo". Then give the command
reboot boot normally, and you should have sudo access.
Why didn't I think of that?
:)