PDA

View Full Version : [ubuntu] [SOLVED] no users have administrator priveleges


johnr9
August 1st, 2008, 09:29 AM
I am sorry if this is the wrong place to post, but I had administrator rights for my machine running ubuntu 7.10, I am the only user with administrator rights and i clicked on users and groups and my user name and properties etc. and unclicked the checkbox administer the system; there was no error message and now no users have administrator rights, and apparently I cannot undo the action.
What do I do?

Dr Small
August 1st, 2008, 09:41 AM
Reboot, and at the GRUB menu, boot into Recovery Mode.
From there, you will be taken to the root prompt. If I am not mistaken, I believe you need to run:
adduser username wheel

To add the user back to the wheel group.

Oldsoldier2003
August 1st, 2008, 11:02 AM
Ubuntu doesn't use the wheel group subsitute admin for wheel in the above command. adduser username admin

Dr Small
August 1st, 2008, 02:20 PM
Ah, ok. I couldn't remember if it was wheel or admin. It's been awhile since I've been on Ubuntu.

johnr9
August 6th, 2008, 11:24 AM
thanks alot - it worked

trksh22
December 19th, 2008, 01:20 PM
Thanks so much! This happened to me and your instructions worked perfectly! :)