The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
logging into vinayrao Shell Programming and Scripting 1 03-14-2008 07:57 AM
UFS logging csaunders SUN Solaris 6 10-11-2005 03:40 PM
SSH Logging? esser OS X (Apple) 0 03-10-2005 12:56 PM
Asking about logging in blueberry80 UNIX for Dummies Questions & Answers 1 08-29-2003 06:51 AM
logging when someone changes to su kymberm UNIX for Dummies Questions & Answers 1 09-17-2002 06:25 PM

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-18-2004
Registered User
 

Join Date: Nov 2002
Location: in my house
Posts: 36
need more logging

Hi all!

On our current Solaris 8 machine we only have "standard" logging configured, and now i need to put on more. What i specificly need is time in the logfiles. Ex. When a user is logging in,
when a user makes it self SU. etc.

Regards...
dOzY
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 11-18-2004
Registered User
 

Join Date: Nov 2002
Location: in my house
Posts: 36
Found out how to get the info. But i still like to have time in the .history, anyone know how to get this??
Reply With Quote
  #3 (permalink)  
Old 11-18-2004
zazzybob's Avatar
Registered Geek
 

Join Date: Dec 2003
Location: Melbourne, Australia
Posts: 2,100
Have a look at the manpage for lastcomm
http://www.uwsg.iu.edu/usail/man/sol...astcomm.1.html

Cheers
ZB
Reply With Quote
  #4 (permalink)  
Old 11-18-2004
RTM's Avatar
RTM RTM is offline
Hog Hunter
 
Join Date: Apr 2002
Location: On my motorcycle
Posts: 3,039
For su, look at your /etc/default/su file - uncomment as needed.

Check out the last command (and man page) - and the acct command for user sign-on and off.

History doesn't include times - that is not what it is used for. See the man page for history or fc.
Reply With Quote
Google UNIX.COM
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 07:30 AM.


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

Content Relevant URLs by vBSEO 3.2.0