Re: DISPLAY_LAST_LOGIN in /etc/security/default versus PrintLastLog in /opt/ssh/etc/sshd (440 Views)
Reply
Super Advisor
Posts: 309
Registered: ‎09-26-2003
Message 1 of 3 (471 Views)
Accepted Solution

DISPLAY_LAST_LOGIN in /etc/security/default versus PrintLastLog in /opt/ssh/etc/sshd

DISPLAY_LAST_LOGIN prints the date and time of the last user login when a user logs in interactively.

 

PrintLastLog appears to do the same thing (for ssh only). Excepting console logins, all of the systems at this site make exclusive use of ssh for remote connections. No telnet, ftp, etc.

 

So the assumption is that the only time DISPLAY_LAST_LOGIN will apply is during console login. Is this correct?

 

Thanks.

 

Honored Contributor
Posts: 9,173
Registered: ‎02-23-2005
Message 2 of 3 (455 Views)

Re: DISPLAY_LAST_LOGIN in /etc/security/default versus PrintLastLog in /opt/ssh/etc/sshd

Highlighted
Super Advisor
Posts: 309
Registered: ‎09-26-2003
Message 3 of 3 (440 Views)

Re: DISPLAY_LAST_LOGIN in /etc/security/default versus PrintLastLog in /opt/ssh/etc/sshd

Yes, that's exactly as I thought as well. I simply have a difficult time convincing other people until they see it coming from someone else.

 

Thanks, Steven.

 

 

The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.