Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
its su - again
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
user124
Tux's lil' helper
Tux's lil' helper


Joined: 02 May 2002
Posts: 86

PostPosted: Sat Jun 15, 2002 11:55 am    Post subject: its su - again Reply with quote

Code:
cam@campus cam $ groups
users wheel audio
cam@campus cam $ su -
Password:
su: Authentication failure
Sorry.
cam@campus cam $


so i searched https://forums.gentoo.org/viewtopic.php?t=3471&highlight=pam+su+wheel and did a
Code:
To remove the wheel group restriction to su remove:
auth       required   pam_wheel.so use_uid
from /etc/pam.d/su.

still no-go
so does anyone have an idea?

user124
ps . ive build the system using the new version 1.2 with stage 3
Back to top
View user's profile Send private message
delta407
Bodhisattva
Bodhisattva


Joined: 23 Apr 2002
Posts: 2876
Location: Chicago, IL

PostPosted: Sat Jun 15, 2002 3:54 pm    Post subject: Reply with quote

Make sure you're typing in the right password :D
Back to top
View user's profile Send private message
user124
Tux's lil' helper
Tux's lil' helper


Joined: 02 May 2002
Posts: 86

PostPosted: Sat Jun 15, 2002 3:58 pm    Post subject: Reply with quote

I AM NOT AS STUPID!

any other suggestions?

user124
Back to top
View user's profile Send private message
True
Tux's lil' helper
Tux's lil' helper


Joined: 10 Apr 2002
Posts: 125
Location: Vancouver

PostPosted: Sat Jun 15, 2002 5:36 pm    Post subject: Reply with quote

Have you got capslock on ;-)

No, seriously.. login as root and change the password and give it another go - it really does sound like a password problem.
Back to top
View user's profile Send private message
user124
Tux's lil' helper
Tux's lil' helper


Joined: 02 May 2002
Posts: 86

PostPosted: Sat Jun 15, 2002 8:58 pm    Post subject: Reply with quote

ahh

no - ive changed the passwords on two machines - still the same error
does anyone have a plan bout the permission internals of the su-command (or pam)?

user124
Back to top
View user's profile Send private message
user124
Tux's lil' helper
Tux's lil' helper


Joined: 02 May 2002
Posts: 86

PostPosted: Sun Jun 16, 2002 11:13 am    Post subject: Reply with quote

no hints?

user124
Back to top
View user's profile Send private message
Zu`
l33t
l33t


Joined: 26 May 2002
Posts: 716
Location: BE

PostPosted: Sun Jun 16, 2002 1:51 pm    Post subject: Reply with quote

Try adding a new user. Don't add it to the wheel group. Since you disabled this restriction in PAM, it should work now without being in the wheel group.

If that doesn't work, there has to be something else wrong... But I really wouldn't know what.. It can only be a PAM restriction or wrong password.
Back to top
View user's profile Send private message
meel_marcel
n00b
n00b


Joined: 16 Jun 2002
Posts: 5

PostPosted: Sun Jun 16, 2002 4:43 pm    Post subject: I get the same message! Reply with quote

The message I get is the same, and I logon using the same password I typed at the Password: prompt. I have used ssh to get around the problem, but it is not what u want....

I made changes in the /etc/pam.d/su file and it works like a charm now:
Code:
#%PAM-1.0
auth       sufficient   /lib/security/pam_rootok.so

auth       required     /lib/security/pam_unix.so
#auth       required    /lib/security/pam_wheel.so use_uid
#auth       required    /lib/security/pam_stack.so service=system-auth

account    required     /lib/security/pam_stack.so service=system-auth
password   required     /lib/security/pam_stack.so service=system-auth
session    required     /lib/security/pam_stack.so service=system-auth
session    optional     /lib/security/pam_xauth.so

Back to top
View user's profile Send private message
user124
Tux's lil' helper
Tux's lil' helper


Joined: 02 May 2002
Posts: 86

PostPosted: Sun Jun 16, 2002 11:03 pm    Post subject: Reply with quote

ok, i tried both - still the same sh..

now im going to rebuild my systems - with the old 1.1 iso

im not amused

user124
Back to top
View user's profile Send private message
rogue
Tux's lil' helper
Tux's lil' helper


Joined: 15 May 2002
Posts: 99
Location: Falls Church, VA

PostPosted: Sun Jun 16, 2002 11:14 pm    Post subject: Reply with quote

why didn't you just add the user to group wheel to begin with...seems like it would solve your problem without having to go through all the bother of disabling the wheel restriction
_________________
(rob)
Back to top
View user's profile Send private message
fghellar
Bodhisattva
Bodhisattva


Joined: 10 Apr 2002
Posts: 856
Location: Porto Alegre, BR

PostPosted: Mon Jun 17, 2002 2:14 am    Post subject: Reply with quote

rogue wrote:
why didn't you just add the user to group wheel to begin with...

He did... Check the first post...

user124, could it be that you don't have a shell defined for that user? Check your /etc/passwd file...
_________________
| www.gentoo.org | www.tldp.org | www.google.com |
Back to top
View user's profile Send private message
rogue
Tux's lil' helper
Tux's lil' helper


Joined: 15 May 2002
Posts: 99
Location: Falls Church, VA

PostPosted: Mon Jun 17, 2002 4:42 am    Post subject: Reply with quote

looks like i should learn how to read :-P

like fghellar said, having the shell undefined will screw you up..it would be nice if the add user command stuck a default in there but check that and hopefully your problem will be solved
_________________
(rob)
Back to top
View user's profile Send private message
snoopey
n00b
n00b


Joined: 26 Apr 2002
Posts: 17

PostPosted: Mon Jun 17, 2002 7:12 pm    Post subject: Reply with quote

Try to add yourself to the root-group as well.. (weird. wheel should be enough)

Code:
snoopey@home:~$ groups
users root wheel



As I don't have this problem my self, I don't know if this is the solution.
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