View previous topic :: View next topic |
Author |
Message |
H-Pi Apprentice
Joined: 26 Jun 2002 Posts: 175 Location: Delft (NL)
|
Posted: Thu Jun 27, 2002 4:26 pm Post subject: member of wheel, cannot su |
|
|
when I do su, logged in with my own user, I get a Permission Denied after typing the pass
but with the same pass I can login as root
the user belongs to wheel in /etc/group so that's not the problem
what can it be else? |
|
Back to top |
|
|
metalhedd l33t
Joined: 30 May 2002 Posts: 692 Location: Ontario Canada
|
Posted: Thu Jun 27, 2002 4:30 pm Post subject: |
|
|
just a lousy guess but maybe you need to log out and back in with your regular user? |
|
Back to top |
|
|
H-Pi Apprentice
Joined: 26 Jun 2002 Posts: 175 Location: Delft (NL)
|
Posted: Thu Jun 27, 2002 4:38 pm Post subject: hm |
|
|
I rebooted several times, but logout, I shall take a look
I don't know the command for a logout, but I'll tka ea look at google or smthng |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20550
|
Posted: Thu Jun 27, 2002 4:47 pm Post subject: |
|
|
If you've rebooted, it shouldn't matter. 'exit' will log a user out.
Also, take a look at /etc/suauth
Code: | #
# to-id:from-id:ACTION
#
root:ALL EXCEPT GROUP wheel:DENY |
This will allow anyone in the wheel group to su to root. _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
Beattie Apprentice
Joined: 24 Jun 2002 Posts: 155
|
Posted: Thu Jun 27, 2002 5:09 pm Post subject: |
|
|
type `id` as the user in question and see if you are REALLY a member of wheel |
|
Back to top |
|
|
klieber Bodhisattva
Joined: 17 Apr 2002 Posts: 3657 Location: San Francisco, CA
|
Posted: Thu Jun 27, 2002 5:10 pm Post subject: Re: hm |
|
|
H-Pi wrote: | I rebooted several times, but logout, I shall take a look
I don't know the command for a logout, but I'll tka ea look at google or smthng |
logout is just that -- 'logout'. However, if you've rebooted, then that accomplishes the same thing. (though it's a sledgehammer approach )
--kurt _________________ The problem with political jokes is that they get elected |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20550
|
Posted: Thu Jun 27, 2002 5:12 pm Post subject: Re: hm |
|
|
klieber wrote: | H-Pi wrote: | I rebooted several times, but logout, I shall take a look
I don't know the command for a logout, but I'll tka ea look at google or smthng |
logout is just that -- 'logout'. However, if you've rebooted, then that accomplishes the same thing. (though it's a sledgehammer approach )
--kurt |
I can't recall why I thought logout didn't work. _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
rphillips Retired Dev
Joined: 18 Apr 2002 Posts: 92
|
Posted: Thu Jun 27, 2002 5:31 pm Post subject: |
|
|
make sure /sbin/su has the SUID bit set.
|
|
Back to top |
|
|
|