View previous topic :: View next topic |
Author |
Message |
NTAdmin n00b
Joined: 21 Aug 2004 Posts: 13
|
Posted: Sun Aug 22, 2004 8:22 am Post subject: Super-User problem |
|
|
Hi,
My problem is that the su command doesn't work properly. I'm the system root, but for common sense I use a plain user account for daily use, but when I type su and enter the root password it says that the pass is incorrect (although I am sure that I entered it correctly about a dozen times).
There must be some permissions error, but I just don't know exactly.
Thanks |
|
Back to top |
|
|
BWoso l33t
Joined: 31 Dec 2003 Posts: 920 Location: Cleveland Ohio, USA
|
Posted: Sun Aug 22, 2004 8:27 am Post subject: |
|
|
Are you serious, you can't su to root even though you typed the correct password, that's amazing. I have never heard of that before. Oh wait, yeah I have, like four thousand times...
https://forums.gentoo.org/viewtopic.php?t=11126 _________________ I think that the forums are the greatest thing about Gentoo, thanks to everyone that posts on them!
The best way to cheer yourself up is to try to cheer somebody else up.
-Mark Twain- |
|
Back to top |
|
|
spudicus Apprentice
Joined: 05 Dec 2002 Posts: 177 Location: Geraldton, Australia
|
Posted: Sun Aug 22, 2004 8:27 am Post subject: |
|
|
Is the user who runs su in the wheel group?
Does su have the SUID bit set? i.e. Code: | ls -l /bin/su
-r-sr-xr-x 1 root root 28760 Jul 4 11:40 /bin/su |
|
|
Back to top |
|
|
NTAdmin n00b
Joined: 21 Aug 2004 Posts: 13
|
Posted: Sun Aug 22, 2004 8:41 am Post subject: |
|
|
Well, the permissions set are pretty much the same, expept in my case root can write to that file
bash-2.05b$ ls -l /bin/su
-rwsr-xr-x 1 root root 21124 Aug 21 13:53 /bin/su
bash-2.05b$
but how do I add the user to wheel group? |
|
Back to top |
|
|
NTAdmin n00b
Joined: 21 Aug 2004 Posts: 13
|
Posted: Sun Aug 22, 2004 8:43 am Post subject: |
|
|
ah, no matter, sorry, I didn't read the FAQ before posting - my mistake |
|
Back to top |
|
|
|