Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Cant su root
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
scriptOwl
n00b
n00b


Joined: 28 Jun 2005
Posts: 22

PostPosted: Thu Mar 09, 2006 8:57 pm    Post subject: Cant su root Reply with quote

Hi All

For some reason, out the blue, I can't su to root. I can ssh in as root no problem though ??? I haven't changed any groups or anything. I did recently upgrade to kernel 2.6.15-r1. I saw some similar threads which suggested making sure root is part of group wheel, which it is.

Any thoughts ?
Back to top
View user's profile Send private message
brianahr
Apprentice
Apprentice


Joined: 07 Oct 2004
Posts: 236
Location: USA

PostPosted: Thu Mar 09, 2006 9:02 pm    Post subject: Reply with quote

Is your normal (non-root) user in the wheel group as well? Ie, if you want to su as a user, your user will need to be in the wheel group.
_________________
no matter how you legislate, information wants to be free.
Back to top
View user's profile Send private message
neylitalo
Tux's lil' helper
Tux's lil' helper


Joined: 29 Jan 2006
Posts: 81

PostPosted: Thu Mar 09, 2006 9:18 pm    Post subject: Reply with quote

brianahr wrote:
Is your normal (non-root) user in the wheel group as well? Ie, if you want to su as a user, your user will need to be in the wheel group.


Right, the wheel group is dedicated to users who can gain root privileges.
Back to top
View user's profile Send private message
aqu
Apprentice
Apprentice


Joined: 12 Nov 2005
Posts: 249
Location: Kalisz, Poland

PostPosted: Thu Mar 09, 2006 9:22 pm    Post subject: Reply with quote

i bet you need command ;)
Code:
gpasswd -A user_name wheel
Back to top
View user's profile Send private message
sternklang
Veteran
Veteran


Joined: 10 Sep 2005
Posts: 1641
Location: Somewhere in time and space

PostPosted: Fri Mar 10, 2006 4:13 am    Post subject: Reply with quote

Perhaps you should take a look at this forum thread: Problems with su? Read this. It points to several FAQs and forum threads on the subject.
Back to top
View user's profile Send private message
scriptOwl
n00b
n00b


Joined: 28 Jun 2005
Posts: 22

PostPosted: Fri Mar 10, 2006 8:17 am    Post subject: Reply with quote

Wow, thanks for the great responses guys.

I tried

Code:
gpasswd -A mythtv wheel


but got the response

Code:
gpasswd: shadow group passwords required for -A


I'm not sure why I get this. I'll keep checking out the other topics too, thanks
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security 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