Re: can't get lastlogin info wen loging in trough ssh

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Laurent CARON wrote:
| Matías López 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 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=system-auth
|> auth       required     /lib/security/pam_nologin.so
|> account    required     /lib/security/pam_stack.so service=system-auth
|> password   required     /lib/security/pam_stack.so service=system-auth
|> session    required     /lib/security/pam_stack.so service=system-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 and
no lastlog info is displayed.

Thank your very much for your help Laurent,
Best Regards,
Matías.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFBNfg1RB0HKLRQp/gRAkdMAKCNVg6v6/D7NeS6FoCAbA8LDVZWFQCfUWZM
lSgUdawjtzPasZjzw/o2I8U=
=CIVo
-----END PGP SIGNATURE-----

-
: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Newbie]     [Audio]     [Hams]     [Kernel Newbies]     [Util Linux NG]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Device Drivers]     [Samba]     [Video 4 Linux]     [Git]     [Fedora Users]

  Powered by Linux