From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1GjxyE-00036t-5E for garchives@archives.gentoo.org; Tue, 14 Nov 2006 13:04:58 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.8/8.13.8) with SMTP id kAED2lCR001817; Tue, 14 Nov 2006 13:02:47 GMT Received: from cranium.sybase.co.za (sqlprd.sybase.co.za [192.96.139.1]) by robin.gentoo.org (8.13.8/8.13.8) with ESMTP id kAED0Xwb032254 for ; Tue, 14 Nov 2006 13:00:34 GMT Received: from localhost (cranium.sybase.co.za [127.0.0.1]) by cranium.sybase.co.za (Postfix) with ESMTP id 055EE8343E for ; Tue, 14 Nov 2006 15:04:12 +0200 (SAST) X-Virus-Scanned: amavisd-new at sybase.co.za Received: from cranium.sybase.co.za ([127.0.0.1]) by localhost (cranium.sybase.co.za [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id p2RRDCIrOCos for ; Tue, 14 Nov 2006 15:04:03 +0200 (SAST) Received: from bard.sybase.co.za (bard.sybase.co.za [192.168.2.6]) by cranium.sybase.co.za (Postfix) with ESMTP id 84E9183456 for ; Tue, 14 Nov 2006 15:03:54 +0200 (SAST) Received: from [192.168.2.130] ([192.168.2.130]) by bard.sybase.co.za with Microsoft SMTPSVC(6.0.3790.1830); Tue, 14 Nov 2006 15:02:08 +0200 From: Alan McKinnon To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: PAM issues Date: Tue, 14 Nov 2006 14:56:29 +0200 User-Agent: KMail/1.9.5 References: <45587D49.2050806@mid.message-center.info> <1197198.BZ3kHPXpCV@m-id.message-center.info> <4087488.4D2mFJuCGi@work.message-center.info> In-Reply-To: <4087488.4D2mFJuCGi@work.message-center.info> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200611141456.29386.alan@linuxholdings.co.za> X-OriginalArrivalTime: 14 Nov 2006 13:02:08.0053 (UTC) FILETIME=[17289E50:01C707ED] X-Archives-Salt: 2f71fb0f-e918-4cc8-ac0d-3722fa5cfe75 X-Archives-Hash: 2b8e7ef32a9808dbea9e00ea8d62eb83 On Tuesday 14 November 2006 14:04, Alexander Skwar wrote: > Alexander Skwar : > > Instead, I rebuilt vixie-cron, which helped as well. > > Hm. I'm now having issues with SSH and sudo as well :( > > When I try to login with SSH, I find the following in syslog: > > Nov 14 13:00:30 dewup-ww02 sshd[25175]: error: PAM: Authentication > failure for vz6tml from localhost > > When I do sudo, I get: > > 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 > > /etc/pam.d/sudo is the default file; ie: [snip pam file contents] I have exactly the same package versions as you and my files are identical to yours, and it works my end. So you don't have a config issue. > Even after rebuilding openssh (4.5_p1) and sudo (1.6.8_p12-r1), I > still cannot use those applications. Do they have the pam USE flag set? Here's my settings for those apps: nazgul ~ # eix openssh [I] net-misc/openssh Available versions: 3.9_p1-r3 (~)4.0_p1-r2 (~)4.1_p1-r1 4.2_p1-r1 4.3_p2-r1 4.3_p2-r5 4.4_p1-r6 (~)4.5_p1 Installed: 4.5_p1(09:36:16 11/09/06)(X -X509 chroot hpn -kerberos -ldap -libedit pam -selinux -skey -smartcard -static tcpd) nazgul ~ # eix sudo [I] app-admin/sudo Available versions: 1.6.8_p9 1.6.8_p9-r2 (~)1.6.8_p11 (~)1.6.8_p12 (~)1.6.8_p12-r1 Installed: 1.6.8_p12-r1(13:59:46 09/21/06)(-ldap offensive pam -selinux -skey) nazgul ~ # eix ^pam$ [I] sys-libs/pam Available versions: 0.78-r3 (~)0.78-r5 (~)0.99.6.3-r1 Installed: 0.99.6.3-r1(20:48:18 11/13/06)(-elibc_FreeBSD nls -selinux -vim-syntax) Any clues from revdep-rebuild? I take it you did log out and in again, I find that pam updates often require that or even a reboot (dunno why, it just seems to work like that for me) alan -- gentoo-user@gentoo.org mailing list