View previous topic :: View next topic |
Author |
Message |
andmetoo n00b
Joined: 17 Mar 2005 Posts: 12 Location: London
|
Posted: Thu Apr 21, 2005 1:55 pm Post subject: Is gentoo su different? [solved] |
|
|
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 |
|
|
ctt Tux's lil' helper
Joined: 05 Feb 2005 Posts: 136
|
Posted: Thu Apr 21, 2005 1:56 pm Post subject: Re: Is gentoo su different? |
|
|
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 |
|
|
jdgill0 Veteran
Joined: 25 Mar 2003 Posts: 1366 Location: Lexington, Ky -- USA
|
Posted: Thu Apr 21, 2005 2:33 pm Post subject: |
|
|
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 |
|
|
andmetoo n00b
Joined: 17 Mar 2005 Posts: 12 Location: London
|
Posted: Thu Apr 21, 2005 2:39 pm Post subject: |
|
|
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 |
|
|
jdgill0 Veteran
Joined: 25 Mar 2003 Posts: 1366 Location: Lexington, Ky -- USA
|
Posted: Thu Apr 21, 2005 2:49 pm Post subject: |
|
|
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 |
|
|
Earthwings Bodhisattva
Joined: 14 Apr 2003 Posts: 7753 Location: Germany
|
Posted: Thu Apr 21, 2005 3:06 pm Post subject: |
|
|
Moved to dups in favour of the faq. _________________ KDE |
|
Back to top |
|
|
|