Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Super-User problem
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
NTAdmin
n00b
n00b


Joined: 21 Aug 2004
Posts: 13

PostPosted: Sun Aug 22, 2004 8:22 am    Post subject: Super-User problem Reply with quote

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


Joined: 31 Dec 2003
Posts: 920
Location: Cleveland Ohio, USA

PostPosted: Sun Aug 22, 2004 8:27 am    Post subject: Reply with quote

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


Joined: 05 Dec 2002
Posts: 177
Location: Geraldton, Australia

PostPosted: Sun Aug 22, 2004 8:27 am    Post subject: Reply with quote

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


Joined: 21 Aug 2004
Posts: 13

PostPosted: Sun Aug 22, 2004 8:41 am    Post subject: Reply with quote

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


Joined: 21 Aug 2004
Posts: 13

PostPosted: Sun Aug 22, 2004 8:43 am    Post subject: Reply with quote

ah, no matter, sorry, I didn't read the FAQ before posting - my mistake
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