Other Important Files Where Information is Logged

Solaris has many files that hold logging information. Most of these files are stored in the / var/adm directory. The following list of these log files briefly describes the information they contain:

  • /var/adm/messages The messages file holds information that prints to the console. These might include root logins and su attempts.

  • /var/adm/lastlog This file holds the most recent login time for each user in the system.

  • /var/adm/utmpx The utmpx database file contains user access and accounting information for commands such as who, write, and login. The utmpx file is where information such as the terminal line and login time is stored for access by the who command.

  • /var/adm/wtmpx The wtmpx ...

Get Inside Solaris™ 9 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.