tips Solaris

hi all...
I need to know, how I can create a log when the user loggin and logout...day and hour....any person help me.....
thank you

solaris does it already, have a look at the command "last"

gP

ok...thanks but how i can see when the user "logon and logout"?

Hi, the ouput of the last command itself shows the last login and logout time. If you want to search for specific user, then you can probably use:

$ last | grep "username"

Hope this helps.

UP

or better:

last username

nice, after over 1 1/2 year... maybe the answer is a little late :wink:

.... but we did get an answer, at last.

pun intended ? :wink: