AIX wtmp, utmp, failedlogin file

utmp, wtmp, failedlogin File

/etc/utmp                                Contains a record of users logged into the system.

/var/adm/wtmp                      Contains connect accounting information.

/etc/security/failedlogin         Contains a record of invalid login attempts.


To convert a binary record in wtmp format to an ASCII record called dummy.file
$ /usr/sbin/acct/fwtmp < /var/adm/wtmp > dummy.file

To convert an ASCII dummy.file to a binary file in wtmp format called /var/adm/wtmp

$ /usr/sbin/acct/fwtmp -ic < dummy.file  > /var/adm/wtmp

No comments: