View previous topic :: View next topic |
Author |
Message |
user124 Tux's lil' helper
Joined: 02 May 2002 Posts: 86
|
Posted: Sat Jun 15, 2002 11:55 am Post subject: its su - again |
|
|
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 |
|
|
delta407 Bodhisattva
Joined: 23 Apr 2002 Posts: 2876 Location: Chicago, IL
|
Posted: Sat Jun 15, 2002 3:54 pm Post subject: |
|
|
Make sure you're typing in the right password |
|
Back to top |
|
|
user124 Tux's lil' helper
Joined: 02 May 2002 Posts: 86
|
Posted: Sat Jun 15, 2002 3:58 pm Post subject: |
|
|
I AM NOT AS STUPID!
any other suggestions?
user124 |
|
Back to top |
|
|
True Tux's lil' helper
Joined: 10 Apr 2002 Posts: 125 Location: Vancouver
|
Posted: Sat Jun 15, 2002 5:36 pm Post subject: |
|
|
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 |
|
|
user124 Tux's lil' helper
Joined: 02 May 2002 Posts: 86
|
Posted: Sat Jun 15, 2002 8:58 pm Post subject: |
|
|
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 |
|
|
user124 Tux's lil' helper
Joined: 02 May 2002 Posts: 86
|
Posted: Sun Jun 16, 2002 11:13 am Post subject: |
|
|
no hints?
user124 |
|
Back to top |
|
|
Zu` l33t
Joined: 26 May 2002 Posts: 716 Location: BE
|
Posted: Sun Jun 16, 2002 1:51 pm Post subject: |
|
|
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 |
|
|
meel_marcel n00b
Joined: 16 Jun 2002 Posts: 5
|
Posted: Sun Jun 16, 2002 4:43 pm Post subject: I get the same message! |
|
|
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 |
|
|
user124 Tux's lil' helper
Joined: 02 May 2002 Posts: 86
|
Posted: Sun Jun 16, 2002 11:03 pm Post subject: |
|
|
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 |
|
|
rogue Tux's lil' helper
Joined: 15 May 2002 Posts: 99 Location: Falls Church, VA
|
Posted: Sun Jun 16, 2002 11:14 pm Post subject: |
|
|
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 |
|
|
fghellar Bodhisattva
Joined: 10 Apr 2002 Posts: 856 Location: Porto Alegre, BR
|
Posted: Mon Jun 17, 2002 2:14 am Post subject: |
|
|
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 |
|
|
rogue Tux's lil' helper
Joined: 15 May 2002 Posts: 99 Location: Falls Church, VA
|
Posted: Mon Jun 17, 2002 4:42 am Post subject: |
|
|
looks like i should learn how to read
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 |
|
|
snoopey n00b
Joined: 26 Apr 2002 Posts: 17
|
Posted: Mon Jun 17, 2002 7:12 pm Post subject: |
|
|
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 |
|
|
|