Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
broken su
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
gravesb
n00b
n00b


Joined: 23 Oct 2005
Posts: 24

PostPosted: Sat Nov 12, 2005 9:12 pm    Post subject: broken su Reply with quote

I am running KDE, and I have been running individual e-builds for awhile. I finished, and then installed NVIDIA drivers. when I restarted my xserver, I could no longer su in a terminal window because it did not recognize my password. When I log out and get to console mode, I can log in as root just fine. Does anyone have any guidance on the disconnect?
Back to top
View user's profile Send private message
widan
Veteran
Veteran


Joined: 07 Jun 2005
Posts: 1512
Location: Paris, France

PostPosted: Sat Nov 12, 2005 10:33 pm    Post subject: Reply with quote

Are you in the wheel group ? If you are, check the permissions on the su binary:
Code:
widan@melanie ~ $ ls -l /bin/su
-rws--x--x  1 root root 25576 Aug 18 23:42 /bin/su
Back to top
View user's profile Send private message
gravesb
n00b
n00b


Joined: 23 Oct 2005
Posts: 24

PostPosted: Sat Nov 12, 2005 11:40 pm    Post subject: Reply with quote

They are the same as yours, but /bin/su is highlighted in red.
Back to top
View user's profile Send private message
gravesb
n00b
n00b


Joined: 23 Oct 2005
Posts: 24

PostPosted: Sun Nov 13, 2005 7:44 am    Post subject: Reply with quote

Believe it had to do with emerging kuser-it reset all of my groups.
Back to top
View user's profile Send private message
scvalex
Apprentice
Apprentice


Joined: 04 Sep 2005
Posts: 169
Location: Hell

PostPosted: Sun Nov 13, 2005 8:21 am    Post subject: Reply with quote

This might sound stupid, but it's what tech support always asks.

Check if you are using caps lock, or worse, are you using numlock. By default, numlock does not start in X.

So if your password contains digits, and you are using the keypad to enter them, you'll be entering the wrong password.
_________________
Nothing is what it seems to be.
Back to top
View user's profile Send private message
gravesb
n00b
n00b


Joined: 23 Oct 2005
Posts: 24

PostPosted: Sun Nov 13, 2005 8:03 pm    Post subject: Reply with quote

Ok, I thought that I had this solved, but I don't. I do think that I have better identified the problem, however. It seems that whenever I do anything involving groups, all of my group permisions go away. For instance, everytime I boot, I have to log in as root, add my user to the wheel group, and then log in as the user. Executing su once resets the group so that I have to add my user to wheel again before I can su in another terminal window. It also affects my cdrom, audio, and other groups that I would like to make my user a part of. Any suggestions?
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 18070

PostPosted: Tue Nov 15, 2005 10:09 pm    Post subject: Reply with quote

Have you reviewed the FAQ Forum entry?
_________________
Those who know what's best for us must rise and save us from ourselves.
Back to top
View user's profile Send private message
gravesb
n00b
n00b


Joined: 23 Oct 2005
Posts: 24

PostPosted: Wed Nov 16, 2005 3:11 pm    Post subject: Reply with quote

Which entry would that be?
Back to top
View user's profile Send private message
linuxtuxhellsinki
l33t
l33t


Joined: 15 Nov 2004
Posts: 700
Location: Hellsinki

PostPosted: Wed Nov 16, 2005 4:53 pm    Post subject: Reply with quote

Maybe it has something to do with PAM :?:

Look in /etc/pam.d/ , /etc/security/ or /etc/sudoers. Somewhere in there lies your problem (I think)
_________________
1st use 'Search' & lastly add [Solved] to
the subject of your first post in the thread.
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 18070

PostPosted: Wed Nov 16, 2005 5:16 pm    Post subject: Reply with quote

gravesb wrote:
Which entry would that be?
The one in the FAQ Forum. I'll take that as a "no."
_________________
Those who know what's best for us must rise and save us from ourselves.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads 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