View previous topic :: View next topic |
Author |
Message |
kollega Tux's lil' helper
Joined: 19 Jul 2002 Posts: 127 Location: Munich, Germany
|
Posted: Fri Aug 02, 2002 7:40 am Post subject: Can't su |
|
|
Hi guys
I got a little big problem.
Some time ago I installed Gentoo on my box... Everythings runs quite good, but I can't switch user with "su" and "su -". I added my normal user to the group wheel, as it is written in the FAQ. So, what else can I do?
Bye
tobi |
|
Back to top |
|
|
nitro322 Guru
Joined: 24 Jul 2002 Posts: 594 Location: USA
|
Posted: Fri Aug 02, 2002 7:47 am Post subject: |
|
|
may be too simple, but have you tried logging out and back in again as your user? You need to do this to update the group membership (only way I know how, anyway). Type 'groups <username>' to confirm. |
|
Back to top |
|
|
kollega Tux's lil' helper
Joined: 19 Jul 2002 Posts: 127 Location: Munich, Germany
|
Posted: Fri Aug 02, 2002 8:13 am Post subject: |
|
|
Is there a difference between logging out and in again and rebooting the computer several times after changing the group? 'Cause I did it the 2nd way. |
|
Back to top |
|
|
nitro322 Guru
Joined: 24 Jul 2002 Posts: 594 Location: USA
|
Posted: Fri Aug 02, 2002 8:17 am Post subject: |
|
|
nah, second way should pretty much cover it. Hmm... what exactly is the error when you try to su? Just 'Permission denied'? Run that groups command just to be sure you're in the group. Maybe you made a type in /etc/group? I've done that several times... |
|
Back to top |
|
|
abhishek Retired Dev
Joined: 28 Jun 2002 Posts: 393 Location: Los Angeles, CA
|
Posted: Fri Aug 02, 2002 8:18 am Post subject: |
|
|
What kind of error message do u get when u try and su? |
|
Back to top |
|
|
kollega Tux's lil' helper
Joined: 19 Jul 2002 Posts: 127 Location: Munich, Germany
|
Posted: Fri Aug 02, 2002 8:26 am Post subject: |
|
|
i don't know it exactly.
Its something like: authentification failed; permission denied
i'm using the linux-2.4.19-gentoo-r5-kernel. maybe it is helpful |
|
Back to top |
|
|
bazik Retired Dev
Joined: 22 Jul 2002 Posts: 277 Location: Behind you.
|
Posted: Fri Aug 02, 2002 8:46 am Post subject: |
|
|
How does your /etc/group look like? _________________ Gentoo Linux/Sparc Developer
http://dev.gentoo.org/~bazik/ |
|
Back to top |
|
|
kollega Tux's lil' helper
Joined: 19 Jul 2002 Posts: 127 Location: Munich, Germany
|
Posted: Fri Aug 02, 2002 8:57 am Post subject: |
|
|
wheel::10:root,rbg
rbg is my user |
|
Back to top |
|
|
surak n00b
Joined: 10 May 2002 Posts: 56 Location: upper-right coast
|
Posted: Fri Aug 02, 2002 2:16 pm Post subject: |
|
|
you could always use sudo... just put sudo in front of any command and it'll run it as root, plus you can set /etc/sudoers so it won't promt you for a password each time |
|
Back to top |
|
|
redmantis n00b
Joined: 02 Aug 2002 Posts: 12
|
Posted: Fri Aug 02, 2002 11:31 pm Post subject: I have this same problem! |
|
|
and yes.....i can run sudo just fine but kde uses su to auth all the admin stuff. so what am i supposed to do.? some one help yes. i've tried rebooting relogging in yes i am a member of wheel. here is the output of
groups user
wheel audio cdrom games users |
|
Back to top |
|
|
Hypnos Advocate
Joined: 18 Jul 2002 Posts: 2889 Location: Omnipresent
|
Posted: Fri Aug 02, 2002 11:36 pm Post subject: |
|
|
Do you have kerberos or kth installed? They come with their own su in /usr/athena/bin or /bin/athena. I was shocked to find it.
You want the su in /usr/bin or /bin.
(This is but one possibility, one that I encounered ... you should also try "man suauth" and read about configuring the real su.) |
|
Back to top |
|
|
redmantis n00b
Joined: 02 Aug 2002 Posts: 12
|
Posted: Sat Aug 03, 2002 4:13 am Post subject: ...yep |
|
|
nevermind i fixed it. all i had to do was update my system. |
|
Back to top |
|
|
pilla Bodhisattva
Joined: 07 Aug 2002 Posts: 7729 Location: Underworld
|
Posted: Fri Aug 09, 2002 3:21 pm Post subject: Re: ...yep |
|
|
Sorry, I wasn't in wheel's group... I'm used to Conectiva and Red Hat, they don't need it...
>what have you done exactly? I have the same problem.
>
> redmantis wrote: | nevermind i fixed it. all i had to do was update my system. |
>
>I think it is something in PAM...
>
>Thanks |
|
Back to top |
|
|
|