Last Login

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
Hi all..

Where do i disable the "Last Login" shown upon login?

I thought it was the pam.d/ssh file (removing the pam_lastlogin), but
that didnt do the trick..

I have to setup a "talker"/chat daeomen with a shared username/password
but i dont want the users to be able to see the last guys IP address
during login.

If its of any interrest, im running debian woody.
sshd: OpenSSH_3.4p1 Debian 1:3.4p1-1.woody.3

- Logix

Re: Last Login

Quoted text here. Click to load it

It actually depends on what's generating it, but in your case it
sounds like you just need to put "PrintLastLog no" into your sshd_config.

See sshd_config(5) for details.

Darren Tucker (dtucker at
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4  37C9 C982 80C7 8FF4 FA69
    Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.

Re: Last Login

    DaFreak> Hi all..  Where do i disable the "Last Login" shown upon
    DaFreak> login?

sshd_config: "PrintLastLog no"

  Richard Silverman

Site Timeline