Gentoo Archives: gentoo-user

From: Alexander Skwar <listen@×××××××××××××××.name>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: PAM issues
Date: Tue, 14 Nov 2006 12:12:31
Message-Id: 4087488.4D2mFJuCGi@work.message-center.info
In Reply to: [gentoo-user] Re: PAM issues by Alexander Skwar
1 Alexander Skwar <listen@×××××××××××××××.name>:
2
3 > Instead, I rebuilt vixie-cron, which helped as well.
4
5 Hm. I'm now having issues with SSH and sudo as well :(
6
7 When I try to login with SSH, I find the following in syslog:
8
9 Nov 14 13:00:30 dewup-ww02 sshd[25175]: error: PAM: Authentication failure for vz6tml from localhost
10
11 When I do sudo, I get:
12
13 Nov 14 13:01:50 dewup-ww02 sudo: pam_unix(sudo:auth): authentication failure; logname=vz6tml uid=0 euid=0 tty=pts/40 ruser= rhost= user=vz6tml
14
15 /etc/pam.d/sudo is the default file; ie:
16
17 # File autogenerated by pamd_mimic_system in pam eclass
18
19
20 auth include system-auth
21 account include system-auth
22 password include system-auth
23 session include system-auth
24
25 /etc/pam.d/sshd is also default:
26
27 #%PAM-1.0
28
29 auth include system-auth
30 auth required pam_shells.so
31 auth required pam_nologin.so
32 account include system-auth
33 password include system-auth
34 session include system-auth
35
36 And /etc/pam.d/system-auth is also default:
37
38 #%PAM-1.0
39
40 auth required pam_env.so
41 auth sufficient pam_unix.so try_first_pass likeauth nullok
42 auth required pam_deny.so
43
44 account required pam_unix.so
45
46 password required pam_cracklib.so difok=2 minlen=8 dcredit=2 ocredit=2 try_first_pass retry=3
47 password sufficient pam_unix.so try_first_pass use_authtok nullok md5 shadow
48 password required pam_deny.so
49
50 session required pam_limits.so
51 session required pam_unix.so
52
53 Even after rebuilding openssh (4.5_p1) and sudo (1.6.8_p12-r1), I still
54 cannot use those applications.
55
56 Alexander Skwar
57 --
58 Oblivion together does not frighten me, beloved.
59 -- Thalassa (in Anne Mulhall's body), "Return to Tomorrow",
60 stardate 4770.3.
61
62
63 --
64 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Re: PAM issues Alan McKinnon <alan@××××××××××××××××.za>