"Permission denied" when I try to log in as su?[Solved]

Discussion in general that pertains to Sabayon Linux - Must Pertain to Sabayon Linux

Moderator: Moderators

"Permission denied" when I try to log in as su?[Solved]

Postby xjonquilx » Mon May 21, 2012 17:33

I'm using Sabayon 8 with Gnome. Today I tried to log in as "su" and I got the message "Permission denied." I made sure I was getting the password correct, and besides, it usually tells me if I get the password incorrect. I've never seen this "Permission denied" message.

The only thing I can think of that may have caused this is I added my user to the vmware group on my machine. I also updated a few days ago but I've used "su" since then without any trouble. I installed VMware. Beyond that though I'm clueless.

BTW, a strange detail of this is that I can still log in as administrator via the GUI. I just can't log in via Terminal.
Last edited by xjonquilx on Mon May 21, 2012 21:39, edited 1 time in total.
xjonquilx
Simple Hen
 
Posts: 81
Joined: Tue Oct 25, 2011 18:23

Re: "Permission denied" when I try to log in as su?

Postby Jomiel » Mon May 21, 2012 20:44

Hi there,
maybe you deleted yourself out of the wheel group? To check type:
Code: Select all
$ groups yourUserName

If this is the case, login as root and add yourself to the wheelgroup with
Code: Select all
# gpasswd -a yourUserName wheel


cheers
Jomiel
User avatar
Jomiel
Growing Hen
 
Posts: 131
Joined: Tue Jan 17, 2012 21:14

Re: "Permission denied" when I try to log in as su?

Postby xjonquilx » Mon May 21, 2012 21:33

That is EXACTLY what happened, but I don't know how it happened. I haven't deleted myself from any groups. Thanks though! :) I will try that!
xjonquilx
Simple Hen
 
Posts: 81
Joined: Tue Oct 25, 2011 18:23

Re: "Permission denied" when I try to log in as su?

Postby xjonquilx » Mon May 21, 2012 21:39

It worked! Thanks once again! :D
xjonquilx
Simple Hen
 
Posts: 81
Joined: Tue Oct 25, 2011 18:23


Return to Sabayon Linux General Discussion

Who is online

Users browsing this forum: No registered users and 0 guests