From: "Matías López Bergero" <mlopezb@udesa.edu.ar>
To: Laurent CARON <lcaron@apartia.fr>
Cc: linux-admin@vger.kernel.org
Subject: Re: can't get lastlogin info wen loging in trough ssh
Date: Wed, 01 Sep 2004 13:26:29 -0300 [thread overview]
Message-ID: <4135F835.2080700@udesa.edu.ar> (raw)
In-Reply-To: <4134DC0D.1070101@apartia.fr>
-----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-----
-
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
next prev parent reply other threads:[~2004-09-01 16:26 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-08-31 15:34 can't get lastlogin info wen loging in trough ssh Matías López Bergero
2004-08-31 17:25 ` Laurent CARON
2004-08-31 19:59 ` Matías López Bergero
2004-08-31 20:14 ` Laurent CARON
2004-09-01 16:26 ` Matías López Bergero [this message]
2004-10-28 20:55 ` Matías López Bergero
2004-10-28 21:02 ` Adrian C.
2004-10-29 14:05 ` Matías López Bergero
2004-10-29 14:10 ` Laurent CARON
2004-10-29 18:47 ` Matías López Bergero
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4135F835.2080700@udesa.edu.ar \
--to=mlopezb@udesa.edu.ar \
--cc=lcaron@apartia.fr \
--cc=linux-admin@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).