All of lore.kernel.org
 help / color / mirror / Atom feed
From: Laurent CARON <lcaron@apartia.fr>
To: "Matías López Bergero" <mlopezb@udesa.edu.ar>
Cc: linux-admin@vger.kernel.org
Subject: Re: can't get lastlogin info wen loging in trough ssh
Date: Tue, 31 Aug 2004 22:14:05 +0200	[thread overview]
Message-ID: <4134DC0D.1070101@apartia.fr> (raw)
In-Reply-To: <4134D88D.7090909@udesa.edu.ar>

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


-- 
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

  reply	other threads:[~2004-08-31 20:14 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 [this message]
2004-09-01 16:26       ` Matías López Bergero
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=4134DC0D.1070101@apartia.fr \
    --to=lcaron@apartia.fr \
    --cc=linux-admin@vger.kernel.org \
    --cc=mlopezb@udesa.edu.ar \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.