Configuring and Using Solaris Audit Logs
Determine your Solaris auditing policy. The "Oracle Solaris Auditing" section in the publication Oracle System Administration: Security Services can help you plan for what events to audit, where your audit logs should be saved, and how you want to review them.
If you have not enabled custom Solaris audit trails, these audit trails of logins and Unix commands issued by the 
            acsss, acsdb, and acssa users are available:
                  - Users who are currently signed on to Unix are recorded in the Unix 
utmpxand past user access is recorded in thewtmpxdatabase. - Use the 
lastcommand to see all access to a user ID (for example,last acsss). For more information see the man pages for:wtmpx,last, andgetutxent. - The 
.*_history(that is [dot]*_history) files in a user’s home directory record the commands issued by that user.For theacsssuser these may include:.bash_history.psql_history.sh_history
On Solaris
/var/adm/sulogrecords successful and unsuccessful attempts to executesuand become superuser or another user.