Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
problem using su: login doesn't work - is it due to shadow?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
therisen
n00b
n00b


Joined: 27 May 2006
Posts: 36
Location: Germany

PostPosted: Thu Jun 01, 2006 12:58 pm    Post subject: problem using su: login doesn't work - is it due to shadow? Reply with quote

Hi there,
i'm using the latest stable shadow (i unemerged pam-login in order to merge shadow). My problem is that i cannot use su or gksu in gnome or in the console to launch applications (i.e. terminal) with root privileges. I always get the error "bad password" so I guess su cannot deal with shadow in some way. Do i need to "emerge pam-login" additionally? I thought that shadow already included pam-login... It's quite annoying to shut down gnome each time I want to do something as root :oops:

Thanks.

therisen
_________________
"Pure mathematics is on the whole distinctly more useful than applied.
For what is useful above all is technique, and mathematical technique
is taught mainly through pure mathematics.


Godfrey H. Hardy
Back to top
View user's profile Send private message
lxg
Veteran
Veteran


Joined: 12 Nov 2005
Posts: 1019
Location: Aachen, Germany

PostPosted: Thu Jun 01, 2006 1:16 pm    Post subject: Re: problem using su: login doesn't work - is it due to shad Reply with quote

therisen wrote:
It's quite annoying to shut down gnome each time I want to do something as root :oops:


Does that mean you can login as root elsewise?
_________________
lxg.de – codebits and tech talk
Back to top
View user's profile Send private message
therisen
n00b
n00b


Joined: 27 May 2006
Posts: 36
Location: Germany

PostPosted: Thu Jun 01, 2006 1:16 pm    Post subject: Reply with quote

Yes, only su is bitching around :(


EDIT: But when I'm in the console (no gui at all) and login as a regular user, I cannot su to root either.
_________________
"Pure mathematics is on the whole distinctly more useful than applied.
For what is useful above all is technique, and mathematical technique
is taught mainly through pure mathematics.


Godfrey H. Hardy
Back to top
View user's profile Send private message
lxg
Veteran
Veteran


Joined: 12 Nov 2005
Posts: 1019
Location: Aachen, Germany

PostPosted: Thu Jun 01, 2006 1:51 pm    Post subject: Reply with quote

If you can log in as root, then the authentication mechanism is ok.

As for su: Did you read this thread?
_________________
lxg.de – codebits and tech talk
Back to top
View user's profile Send private message
therisen
n00b
n00b


Joined: 27 May 2006
Posts: 36
Location: Germany

PostPosted: Thu Jun 01, 2006 2:03 pm    Post subject: Reply with quote

Thanks again for your help, lx0 :)

I was too much focused on shadow :(


Greetings, therisen
_________________
"Pure mathematics is on the whole distinctly more useful than applied.
For what is useful above all is technique, and mathematical technique
is taught mainly through pure mathematics.


Godfrey H. Hardy
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security 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