Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Is gentoo su different? [solved]
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
andmetoo
n00b
n00b


Joined: 17 Mar 2005
Posts: 12
Location: London

PostPosted: Thu Apr 21, 2005 1:55 pm    Post subject: Is gentoo su different? [solved] Reply with quote

I'm puzzled that I cannot su on my new gentoo install. I can log in as root either locally or remotely via ssh, but if logged on as an ordinary user I cannot su (or su -). I always get
Code:
 $ su
Password:
su: Permission denied
Sorry.

I've never had to set up su on any other linux. Is this a result of some gentoo thing, or perhaps a compilation problem from the install process. If the latter, how do I re-compile the relevant part (presumably bash ??)

TIA


Last edited by andmetoo on Thu Apr 21, 2005 2:51 pm; edited 1 time in total
Back to top
View user's profile Send private message
ctt
Tux's lil' helper
Tux's lil' helper


Joined: 05 Feb 2005
Posts: 136

PostPosted: Thu Apr 21, 2005 1:56 pm    Post subject: Re: Is gentoo su different? Reply with quote

andmetoo wrote:
I'm puzzled that I cannot su on my new gentoo install. I can log in as root either locally or remotely via ssh, but if logged on as an ordinary user I cannot su (or su -). I always get
Code:
 $ su
Password:
su: Permission denied
Sorry.

I've never had to set up su on any other linux. Is this a result of some gentoo thing, or perhaps a compilation problem from the install process. If the latter, how do I re-compile the relevant part (presumably bash ??)

TIA
You'll want to make sure you're a member of the wheel group in order to be able to use su.
_________________
- chris
Back to top
View user's profile Send private message
jdgill0
Veteran
Veteran


Joined: 25 Mar 2003
Posts: 1366
Location: Lexington, Ky -- USA

PostPosted: Thu Apr 21, 2005 2:33 pm    Post subject: Reply with quote

As for "Is gentoo su different?" No, I believe the BSDs implement the same scheme, that you must be a member of the wheel group to su root. Someone can correct me if I am wrong of course.
_________________
Vim has excellent syntax highlighting for configuration files: emerge gentoo-syntax
Learn how to use Vim: vimtutor
Back to top
View user's profile Send private message
andmetoo
n00b
n00b


Joined: 17 Mar 2005
Posts: 12
Location: London

PostPosted: Thu Apr 21, 2005 2:39 pm    Post subject: Reply with quote

Quote:
You'll want to make sure you're a member of the wheel group in order to be able to use su.


Ho! I never came across that before. I have seen group wheel on other systems, but if RH or SuZe use that, they must add the users in automatically, as I never did it myself. And debian doesn't even set a group wheel. I wonder where that is configured. Can't see it in /etc. Perhaps it's compiled in.

Anyway, thanks. Problem solved
Back to top
View user's profile Send private message
jdgill0
Veteran
Veteran


Joined: 25 Mar 2003
Posts: 1366
Location: Lexington, Ky -- USA

PostPosted: Thu Apr 21, 2005 2:49 pm    Post subject: Reply with quote

If you are happy with your solution, please mark your original post's Subject line with [solved].

Thanks.
_________________
Vim has excellent syntax highlighting for configuration files: emerge gentoo-syntax
Learn how to use Vim: vimtutor
Back to top
View user's profile Send private message
Earthwings
Bodhisattva
Bodhisattva


Joined: 14 Apr 2003
Posts: 7753
Location: Karlsruhe, Germany

PostPosted: Thu Apr 21, 2005 3:06 pm    Post subject: Reply with quote

Moved to dups in favour of the faq.
_________________
KDE
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