The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > SUN Solaris
Google UNIX.COM


SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems .

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
backup shell script, need some tips. iNetForce Shell Programming and Scripting 1 03-28-2008 11:08 AM
linux tips chlawren Linux 8 03-13-2008 07:22 AM
Looking for tips ant trick extend vi umen UNIX for Dummies Questions & Answers 0 03-25-2006 12:35 AM
Welcome to Tips and Tutorials Perderabo Tips and Tutorials 0 03-26-2005 10:03 AM
Tips on startup? McFlashbang UNIX for Dummies Questions & Answers 3 10-26-2003 06:58 AM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-18-2006
Registered User
 

Join Date: Mar 2006
Posts: 20
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
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 03-18-2006
pressy's Avatar
solaris cultist
 

Join Date: Aug 2003
Location: Vienna / Austria (Europe) [EARTH]
Posts: 713
solaris does it already, have a look at the command "last"

gP
Reply With Quote
  #3 (permalink)  
Old 03-18-2006
Registered User
 

Join Date: Mar 2006
Posts: 20
Quote:
Originally Posted by pressy
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"?
Reply With Quote
  #4 (permalink)  
Old 12-16-2007
Registered User
 

Join Date: Dec 2007
Posts: 3
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
Reply With Quote
  #5 (permalink)  
Old 12-16-2007
Registered User
 

Join Date: Dec 2007
Location: Paris
Posts: 357
or better:
Code:
last username
Reply With Quote
  #6 (permalink)  
Old 12-16-2007
DukeNuke2's Avatar
Soulman
 

Join Date: Jul 2006
Location: Germany, Berlin
Posts: 1,315
nice, after over 1 1/2 year... maybe the answer is a little late
Reply With Quote
  #7 (permalink)  
Old 12-17-2007
Registered User
 

Join Date: Jan 2007
Posts: 2,965
.... but we did get an answer, at last.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 03:55 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0