From mboxrd@z Thu Jan 1 00:00:00 1970 From: Laurent CARON Subject: Re: can't get lastlogin info wen loging in trough ssh Date: Tue, 31 Aug 2004 22:14:05 +0200 Sender: linux-admin-owner@vger.kernel.org Message-ID: <4134DC0D.1070101@apartia.fr> References: <41349AA2.7050701@udesa.edu.ar> <4134B47A.1080506@apartia.fr> <4134D88D.7090909@udesa.edu.ar> Mime-Version: 1.0 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: In-Reply-To: <4134D88D.7090909@udesa.edu.ar> List-Id: Content-Type: text/plain; charset="iso-8859-1"; format="flowed" To: =?ISO-8859-1?Q?Mat=EDas_L=F3pez_Bergero?= Cc: linux-admin@vger.kernel.org Mat=EDas L=F3pez Bergero wrote: > > > Hello, > Thanks for the answer Laurent, > > I am not very sure of what to look for.. or add. > Everything looks ok there. I compare it to another system that displa= ys > the lastlogin date on the ssh login process. > > This is how the sshd file in pam.d look like: > > #%PAM-1.0 > auth required /lib/security/pam_stack.so service=3Dsystem-a= uth > auth required /lib/security/pam_nologin.so > account required /lib/security/pam_stack.so service=3Dsystem-a= uth > password required /lib/security/pam_stack.so service=3Dsystem-a= uth > session required /lib/security/pam_stack.so service=3Dsystem-a= uth > session required /lib/security/pam_limits.so > session optional /lib/security/pam_console.so > > Suggestions? > Try adding session optional /lib/security/pam_lastlog.so Laurent --=20 Q: What do Winnie the Pooh and John the Baptist have in common? A: The same middle name. - To unsubscribe from this list: send the line "unsubscribe linux-admin" = in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html