Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
cannot su -- but password is good...
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
thomasn
n00b
n00b


Joined: 19 Mar 2005
Posts: 50
Location: UK

PostPosted: Tue Apr 12, 2005 5:08 pm    Post subject: cannot su -- but password is good... Reply with quote

Hi,

On a new Gentoo install (IBM Thinkpad) I can log in as root - but if I log in as a normal user, I cannot su to get root access. I type in the password, I just get "Permission denied. Sorry."
I've tried with a root password containing only ASCII characters and numbers, to make sure it's not a keymap problem.

I used a 2004.3 Universal CD, FWIW.

Any ideas? What could I look for?

Regards,
Thomas.
Back to top
View user's profile Send private message
montesq
Tux's lil' helper
Tux's lil' helper


Joined: 28 Dec 2004
Posts: 111
Location: Paris

PostPosted: Tue Apr 12, 2005 5:14 pm    Post subject: Reply with quote

are you sure that the user which use "su" is also in the "wheel" group?

What do that command say?
Code:

more /etc/group|grep wheel


Montesq
Back to top
View user's profile Send private message
thomasn
n00b
n00b


Joined: 19 Mar 2005
Posts: 50
Location: UK

PostPosted: Tue Apr 12, 2005 5:28 pm    Post subject: Reply with quote

Quote:

are you sure that the user which use "su" is also in the "wheel" group?


Bingo - used usermod to add the user to the wheel group, all works perfectly. Thanks, Montesq.

Beating the record yet again, that's now a 6 minute response time. These forums inspire a good deal of awe.
- Thomas.
Back to top
View user's profile Send private message
toralf
Developer
Developer


Joined: 01 Feb 2004
Posts: 3932
Location: Hamburg

PostPosted: Tue Apr 12, 2005 5:41 pm    Post subject: Re: cannot su -- but password is good... Reply with quote

thomasn wrote:

Any ideas? What could I look for?
http://www.gentoo.org/doc/en/faq.xml#su

Last edited by toralf on Wed Apr 13, 2005 7:28 pm; edited 1 time in total
Back to top
View user's profile Send private message
thomasn
n00b
n00b


Joined: 19 Mar 2005
Posts: 50
Location: UK

PostPosted: Tue Apr 12, 2005 7:40 pm    Post subject: Re: cannot su -- but password is good... Reply with quote

toralf wrote:
http://www.gentoo.org/doc/en/faq.xml#su

Thanks, will RTFM more thoroughly next time.
- Thomas.
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