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: Tue, 31 Aug 2004 16:59:09 -0300 Sender: linux-admin-owner@vger.kernel.org Message-ID: <4134D88D.7090909@udesa.edu.ar> References: <41349AA2.7050701@udesa.edu.ar> <4134B47A.1080506@apartia.fr> Mime-Version: 1.0 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: In-Reply-To: <4134B47A.1080506@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: | |> -----BEGIN PGP SIGNED MESSAGE----- |> Hash: SHA1 |> |> Hi, |> I can't get lastlogin info wen login in trough ssh no mater where I |> login from. |> I have enabled the PrintLastLog option in sshd_config, but the lastl= ogin |> date doesn't appears. It does appears wen I login from the box itsel= f, |> but not via ssh. |> |> Any ideas on how can I get this to work? |> I have a RedHat 8, Linux 2.4.27, OpenSSH_3.4p1. |> | Hello, | | have a look in /etc/pam.d/ssh | | Laurent | 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 displays 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-aut= h auth required /lib/security/pam_nologin.so account required /lib/security/pam_stack.so service=3Dsystem-aut= h password required /lib/security/pam_stack.so service=3Dsystem-aut= h session required /lib/security/pam_stack.so service=3Dsystem-aut= h session required /lib/security/pam_limits.so session optional /lib/security/pam_console.so Suggestions? Best Regards, Mat=EDas. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFBNNiMRB0HKLRQp/gRAuBeAKCm9ErBPNGpg/kkIp6G9mKGEQJJQACgx23K VjWabl3yPWFINU/th1xO0/k=3D =3Dm+YN -----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