Re: lastlog string
On Thu, 25 Nov 2010 16:45:46 -0500 Mike Hollis zzf...@embarqmail.com 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 eagle.cowpie.net 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 -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: lastlog string
On Fri, Nov 26, 2010 at 01:24:29PM +0100, Aleksandar Kuktin wrote: On Thu, 25 Nov 2010 16:45:46 -0500 Mike Hollis zzf...@embarqmail.com wrote: I just noticed that the printing of lastlog after login : Last login: Thu Nov 25 14:42:51 -0500 2010 on /dev/tty4 . . 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 At this stage of my C expertise I would do better trying to decipher Eygptian heiroglyphics than much of the code I see. I will check out the bash connection. Thanks, Mike H. -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page