Monday, June 24, 2013

Tracking User Logins, Logouts and Bad Login Attempts on LFS (Linux From Scratch)

From Linux From Scratch 7.3:

/var/log/wtmp
The /var/log/wtmp file records all logins and logouts.

/var/log/lastlog
The /var/log/lastlog file records when each user last logged in.

/var/log/btmp
The /var/log/btmp file records the bad login attempts.

/run/utmp
The /run/utmp file records the users that are currently logged in. This file is created dynamically in the boot scripts.

Courtesy of:
http://www.linuxfromscratch.org/lfs/view/stable/chapter06/createfiles.html

No comments:

Post a Comment