4.2 and the 'last' command

Darren Tucker dtucker at zip.com.au
Thu Nov 17 13:23:41 EST 2005

Jason.C.Burns at wellsfargo.com wrote:
> My question:  I can't find in the source where 'last' is explicitly
> called, so is there an API call that was added between these versions
> that would refer the system to 'last'? 

Depends.  What platform are you running, and which build and run-time 
options have you enabled?

AFAIK sshd doesn't exec "last" itself, although it's possible that 
something it calls does under the covers.

Darren Tucker (dtucker at zip.com.au)
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.

More information about the openssh-unix-dev mailing list