LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   What's source of message: Last Login...? (https://www.linuxquestions.org/questions/linux-newbie-8/whats-source-of-message-last-login-445788/)

xcore_on 05-17-2006 02:48 PM

What's source of message: Last Login...?
 
After boot my linux, I receibe this messages:

Debin GNU/Linux 3.1 ComputerX tty1...
source: /etc/issue (before local login )

last login...
source??????

Linux Computer...
source: /etc/motd (after login)



My question:
What's source of message: last Login...?



Thanks in advance!

MensaWater 05-17-2006 03:08 PM

/var/run/utmp and /var/run/wtmp record login information.

Commands like who, last and finger read these files to determine your last login. (The files are not pure text so don't try to edit them.)


All times are GMT -5. The time now is 01:21 AM.