lastlog string

Aleksandar Kuktin akuktin at
Fri Nov 26 04:24:29 PST 2010

>On Thu, 25 Nov 2010 16:45:46 -0500
>Mike Hollis <zzflop at> wrote:
>  I just noticed that the printing of lastlog after login :
> Last login: Thu Nov 25 14:42:51 -0500 2010 on /dev/tty4
> I thought this used to include the username . I poked around in
> the code for Shadow to see if I could decipher the origon of this
> string but got lost in a jungle of includes,stuctures,etc.
> I'm guessing that -0500 is my offset from GMT . On another partition 
> with LFS  built in July the string is the same. A ssh login to a
> remote machine with Debian installed  yields :
> Last login: Thu Nov 25 16:24:34 2010 from
> This is all really not a big deal; It's odd that I just noticed it.
> Is this a variable that can be configured ?

Well.. yes. Find it's location in the source and fix it. :)

BTW, if I recall correctly, the line is printed by Bash, so you should
look there.

-Aleksandar Kuktin

More information about the lfs-support mailing list