veda87
July 23rd, 2009, 06:41 PM
i found that the last login details are been kept at/var/log/lastlogin.... when I opened it using vi editor... i found something like this
¸<92>hJtty1^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@ ^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@ ^@^@^@^@^@^@^@^@^@^@^@× p¡ö·PÞ× ^@^@^@^@^@^@^@^@^Tûç·^E^@^@^@^A^@^@^@^@^@^@ p¡ö·p¡ö·8Þ× ^@^@^@^@xØ× @¡ö·^D^@^@^@ø\Ú¿e(è·@¡ö·^]^@^@^@@¡ö·ô<8f>ö·ôÏ÷·XÞ× xØ× ^X]Ú¿Ø}÷·XÞ× xØ× ^@^@^@^@ô<8f>ö·@¡ö·xØ× 8]Ú¿V^Dè·@¡ö·xØ× pØ×
and when I login into my virutal console using root... it gives me my last login detail as
Last login: thu Jul 23 18:00:32 IST 2009 on tty1 I could figure out the console tty1 but not the date and time...I knew the /var/log/lastlogin is hard coded...
Can anyone help to know how the system interprets it.. How can I see this hard coded file in an user understandable format..
¸<92>hJtty1^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@ ^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@ ^@^@^@^@^@^@^@^@^@^@^@× p¡ö·PÞ× ^@^@^@^@^@^@^@^@^Tûç·^E^@^@^@^A^@^@^@^@^@^@ p¡ö·p¡ö·8Þ× ^@^@^@^@xØ× @¡ö·^D^@^@^@ø\Ú¿e(è·@¡ö·^]^@^@^@@¡ö·ô<8f>ö·ôÏ÷·XÞ× xØ× ^X]Ú¿Ø}÷·XÞ× xØ× ^@^@^@^@ô<8f>ö·@¡ö·xØ× 8]Ú¿V^Dè·@¡ö·xØ× pØ×
and when I login into my virutal console using root... it gives me my last login detail as
Last login: thu Jul 23 18:00:32 IST 2009 on tty1 I could figure out the console tty1 but not the date and time...I knew the /var/log/lastlogin is hard coded...
Can anyone help to know how the system interprets it.. How can I see this hard coded file in an user understandable format..