View previous topic :: View next topic |
Author |
Message |
scriptOwl n00b
Joined: 28 Jun 2005 Posts: 22
|
Posted: Thu Mar 09, 2006 8:57 pm Post subject: Cant su root |
|
|
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 |
|
|
brianahr Apprentice
Joined: 07 Oct 2004 Posts: 236 Location: USA
|
Posted: Thu Mar 09, 2006 9:02 pm Post subject: |
|
|
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 |
|
|
neylitalo Tux's lil' helper
Joined: 29 Jan 2006 Posts: 81
|
Posted: Thu Mar 09, 2006 9:18 pm Post subject: |
|
|
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 |
|
|
aqu Apprentice
Joined: 12 Nov 2005 Posts: 249 Location: Kalisz, Poland
|
Posted: Thu Mar 09, 2006 9:22 pm Post subject: |
|
|
i bet you need command
Code: | gpasswd -A user_name wheel |
|
|
Back to top |
|
|
sternklang Veteran
Joined: 10 Sep 2005 Posts: 1641 Location: Somewhere in time and space
|
Posted: Fri Mar 10, 2006 4:13 am Post subject: |
|
|
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 |
|
|
scriptOwl n00b
Joined: 28 Jun 2005 Posts: 22
|
Posted: Fri Mar 10, 2006 8:17 am Post subject: |
|
|
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 |
|
|
|