All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Matías López Bergero" <mlopezb@udesa.edu.ar>
To: linux-admin@vger.kernel.org
Subject: Re: can't get lastlogin info wen loging in trough ssh
Date: Thu, 28 Oct 2004 17:55:10 -0300	[thread overview]
Message-ID: <41815CAE.3070205@udesa.edu.ar> (raw)
In-Reply-To: <4134B47A.1080506@apartia.fr>

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

Hello,
Again with this,

I'm not able to display the lastlog msg wen I log in thought ssh on my
Linux box.
I'm using OpenSSH_3.6.1p2

I have found this on the sshd man page:

LOGIN PROCESS
~     When a user successfully logs in, sshd does the following:

1.   If the login is on a tty, and no command has been specified,
prints last login time and /etc/motd (unless prevented in the
configuration file or by $HOME/.hushlogin; see the FILES sec-tion).


As far as I know, the ttys are the consoles connected to the st
input(keyboard), so, what is the sense of this??? Wen I login using ssh,
I'm doing it thought a tty?

I couldn't find anything about the process performed by ssh wen the
login is from a remote host.

Any help will be most welcome.

BR,
Matías.




Laurent CARON wrote:
| Matías López 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 lastlogin
|> date doesn't appears. It does appears wen I login from the box itself,
|> 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
| -
| 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
|

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFBgVyuRB0HKLRQp/gRAhNdAKCAxJ1ygJE8tDa7jPndes8Iwl4wRgCglrfG
iAz/KGSIeKhZ2b/Vx3WGSiY=
=1R3S
-----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

  parent reply	other threads:[~2004-10-28 20:55 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
2004-10-28 20:55   ` Matías López Bergero [this message]
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=41815CAE.3070205@udesa.edu.ar \
    --to=mlopezb@udesa.edu.ar \
    --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 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.