From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?ISO-8859-1?Q?Mat=EDas_L=F3pez_Bergero?= Subject: Re: can't get lastlogin info wen loging in trough ssh Date: Wed, 01 Sep 2004 13:26:29 -0300 Sender: linux-admin-owner@vger.kernel.org Message-ID: <4135F835.2080700@udesa.edu.ar> References: <41349AA2.7050701@udesa.edu.ar> <4134B47A.1080506@apartia.fr> <4134D88D.7090909@udesa.edu.ar> <4134DC0D.1070101@apartia.fr> Mime-Version: 1.0 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: In-Reply-To: <4134DC0D.1070101@apartia.fr> List-Id: Content-Type: text/plain; charset="iso-8859-1"; format="flowed" To: Laurent CARON Cc: linux-admin@vger.kernel.org -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Laurent CARON wrote: | 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 displ= ays |> 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-= auth |> auth required /lib/security/pam_nologin.so |> account required /lib/security/pam_stack.so service=3Dsystem-= auth |> password required /lib/security/pam_stack.so service=3Dsystem-= auth |> session required /lib/security/pam_stack.so service=3Dsystem-= auth |> 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 | | Hi, That didn't solve my problem :( I add the line at the end of the file and still can login trough ssh an= d no lastlog info is displayed. Thank your very much for your help Laurent, Best Regards, Mat=EDas. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFBNfg1RB0HKLRQp/gRAkdMAKCNVg6v6/D7NeS6FoCAbA8LDVZWFQCfUWZM lSgUdawjtzPasZjzw/o2I8U=3D =3DCIVo -----END PGP SIGNATURE----- - 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