Gentoo Archives: gentoo-user

From: Alan McKinnon <alan@××××××××××××××××.za>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: PAM issues
Date: Tue, 14 Nov 2006 13:04:58
Message-Id: 200611141456.29386.alan@linuxholdings.co.za
In Reply to: [gentoo-user] Re: PAM issues by Alexander Skwar
1 On Tuesday 14 November 2006 14:04, Alexander Skwar wrote:
2 > Alexander Skwar <listen@×××××××××××××××.name>:
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
10 > failure for vz6tml from localhost
11 >
12 > When I do sudo, I get:
13 >
14 > Nov 14 13:01:50 dewup-ww02 sudo: pam_unix(sudo:auth): authentication
15 > failure; logname=vz6tml uid=0 euid=0 tty=pts/40 ruser= rhost=
16 > user=vz6tml
17 >
18 > /etc/pam.d/sudo is the default file; ie:
19
20 [snip pam file contents]
21
22 I have exactly the same package versions as you and my files are
23 identical to yours, and it works my end. So you don't have a config
24 issue.
25
26 > Even after rebuilding openssh (4.5_p1) and sudo (1.6.8_p12-r1), I
27 > still cannot use those applications.
28
29 Do they have the pam USE flag set? Here's my settings for those apps:
30
31 nazgul ~ # eix openssh
32 [I] net-misc/openssh
33 Available versions: 3.9_p1-r3 (~)4.0_p1-r2 (~)4.1_p1-r1 4.2_p1-r1
34 4.3_p2-r1 4.3_p2-r5 4.4_p1-r6 (~)4.5_p1
35 Installed: 4.5_p1(09:36:16 11/09/06)(X -X509 chroot
36 hpn -kerberos -ldap -libedit pam -selinux -skey -smartcard -static
37 tcpd)
38
39 nazgul ~ # eix sudo
40 [I] app-admin/sudo
41 Available versions: 1.6.8_p9 1.6.8_p9-r2 (~)1.6.8_p11 (~)1.6.8_p12
42 (~)1.6.8_p12-r1
43 Installed: 1.6.8_p12-r1(13:59:46 09/21/06)(-ldap
44 offensive pam -selinux -skey)
45
46 nazgul ~ # eix ^pam$
47 [I] sys-libs/pam
48 Available versions: 0.78-r3 (~)0.78-r5 (~)0.99.6.3-r1
49 Installed: 0.99.6.3-r1(20:48:18 11/13/06)(-elibc_FreeBSD
50 nls -selinux -vim-syntax)
51
52
53 Any clues from revdep-rebuild?
54 I take it you did log out and in again, I find that pam updates often
55 require that or even a reboot (dunno why, it just seems to work like
56 that for me)
57
58
59 alan
60 --
61 gentoo-user@g.o mailing list

Replies

Subject Author
[gentoo-user] Re: PAM issues Alexander Skwar <listen@×××××××××××××××.name>