Log Information about login/logout of any users

Hi to all,
i want configure my solaris 10 machine to log all login,logout and "su" in a particularly file. How can i do it?
Now i enable auth.* in syslog.conf but the informations are written in a confused mode...

Thanks

Did you touch the /var/adm/loginlog file? :confused:

I create a file now with root:sys permission but in this file if i try to execute a login/logout i have nothing.

Thanks

check it out here..

add following entry to /etc/syslog.conf

auth.notice;auth.error;auth.info /var/adm/loginlogs

Create logfile
touch /var/adm/loginlogs

Bounce syslog
pkill -HUP syslogd