Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
member of wheel, cannot su
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
H-Pi
Apprentice
Apprentice


Joined: 26 Jun 2002
Posts: 175
Location: Delft (NL)

PostPosted: Thu Jun 27, 2002 4:26 pm    Post subject: member of wheel, cannot su Reply with quote

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
View user's profile Send private message
metalhedd
l33t
l33t


Joined: 30 May 2002
Posts: 692
Location: Ontario Canada

PostPosted: Thu Jun 27, 2002 4:30 pm    Post subject: Reply with quote

just a lousy guess but maybe you need to log out and back in with your regular user?
Back to top
View user's profile Send private message
H-Pi
Apprentice
Apprentice


Joined: 26 Jun 2002
Posts: 175
Location: Delft (NL)

PostPosted: Thu Jun 27, 2002 4:38 pm    Post subject: hm Reply with quote

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
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 16102
Location: Colorado

PostPosted: Thu Jun 27, 2002 4:47 pm    Post subject: Reply with quote

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.
_________________
lolgov. 'cause where we're going, you don't have civil liberties.

In Loving Memory
1787 - 2008
Back to top
View user's profile Send private message
Beattie
Apprentice
Apprentice


Joined: 24 Jun 2002
Posts: 155

PostPosted: Thu Jun 27, 2002 5:09 pm    Post subject: Reply with quote

type `id` as the user in question and see if you are REALLY a member of wheel
Back to top
View user's profile Send private message
klieber
Administrator
Administrator


Joined: 17 Apr 2002
Posts: 3657
Location: San Francisco, CA

PostPosted: Thu Jun 27, 2002 5:10 pm    Post subject: Re: hm Reply with quote

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
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 16102
Location: Colorado

PostPosted: Thu Jun 27, 2002 5:12 pm    Post subject: Re: hm Reply with quote

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.
_________________
lolgov. 'cause where we're going, you don't have civil liberties.

In Loving Memory
1787 - 2008
Back to top
View user's profile Send private message
rphillips
Retired Dev
Retired Dev


Joined: 18 Apr 2002
Posts: 92

PostPosted: Thu Jun 27, 2002 5:31 pm    Post subject: Reply with quote

make sure /sbin/su has the SUID bit set.

Code:

chmod +s /bin/su
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