Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Suddenly unable to su!
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
deltamalloc
Apprentice
Apprentice


Joined: 18 Jan 2013
Posts: 279

PostPosted: Fri Dec 06, 2013 11:07 pm    Post subject: Suddenly unable to su! Reply with quote

I did:

Code:

emerge --sync
emerge --update --deep --with-bdeps=y world


The emerge program then prompted me to make USE changes, I went to a different terminal do add them by hand, but su no longer worked.

I get:

Code:

$ su
Password:
su: Permission denied


I am able to log in as root in the terminal. I can su as root to a regular user, but I cannot as a reguler user (the same one I've been using for months) su to root.

I have not done any other noteworthy changes, like toggling pam related USE flags. My reguler user is in the wheel group (and have always been).
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Sat Dec 07, 2013 1:16 am    Post subject: Reply with quote

What's in /var/log/messages ?
_________________
My Gentoo installation notes.
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
deltamalloc
Apprentice
Apprentice


Joined: 18 Jan 2013
Posts: 279

PostPosted: Sat Dec 07, 2013 7:34 pm    Post subject: Reply with quote

Jaglover wrote:
What's in /var/log/messages ?


The problem was that I had accidentally omitted the -a argument to usermod when adding myself to another groups.
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Sat Dec 07, 2013 9:04 pm    Post subject: Reply with quote

I use vigr for that.
_________________
My Gentoo installation notes.
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum