GNOME: Change user to admin? [Solved]

Compiz, KDE, Gnome, Fluxbox, etc...

Moderator: Moderators

GNOME: Change user to admin? [Solved]

Postby cronotk » Fri Jul 12, 2013 6:56

Hi!

I was playing around with GNOME's settings when I opened the user config menu. I totally forgot that settings are applied instantly so I accidentally set my main user to a "normal user". Now I can't turn it back because "unlocking" the dialog opens up some password request for "added by portage for sabayon-mce". The root password won't work.
I can't even start a terminal and type "su" because I apparently don't have permission to do that.

So how do I become administrator again?
Last edited by cronotk on Fri Jul 12, 2013 15:36, edited 1 time in total.
cronotk
Baby Hen
 
Posts: 10
Joined: Sun Oct 09, 2011 14:32

Re: GNOME: Change user to admin?

Postby cronotk » Fri Jul 12, 2013 15:36

Figured it out (somewhat).

Solution: log in to any tty as root, and run
Code: Select all
usermod -a -G wheel <loginname>
. After that I can set my account back to being an admin in GNOME.

btw, is it "safe" to keep my user in the wheel group? Was he in that group before I removed the admin privs in GNOME?
cronotk
Baby Hen
 
Posts: 10
Joined: Sun Oct 09, 2011 14:32

Re: GNOME: Change user to admin?

Postby sihox » Fri Jul 12, 2013 19:24

cronotk wrote:btw, is it "safe" to keep my user in the wheel group? Was he in that group before I removed the admin privs in GNOME?


From gentoo faq:
For security reasons, users may only su to root if they belong to the wheel group.


So I think it's safe - and needed if you want to become root by su ;)
sihox
Young Hen
 
Posts: 22
Joined: Tue Dec 01, 2009 23:22
Location: Poland


Return to 3D Desktops and Window Managers

Who is online

Users browsing this forum: No registered users and 1 guest

cron