Operating System - HP-UX
1748224 Members
4431 Online
108759 Solutions
New Discussion

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

 
SOLVED
Go to solution
john guardian
Super Advisor

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.

 

2 REPLIES 2
Steven Schweda
Honored Contributor
Solution

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

 
john guardian
Super Advisor

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.