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 11:57 AM
UFS logging csaunders SUN Solaris 6 10-11-2005 07:40 PM
SSH Logging? esser OS X (Apple) 0 03-10-2005 04:56 PM
Asking about logging in blueberry80 UNIX for Dummies Questions & Answers 1 08-29-2003 10:51 AM
logging when someone changes to su kymberm UNIX for Dummies Questions & Answers 1 09-17-2002 10:25 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 11-18-2004
dozy dozy is offline
Registered User
  
 

Join Date: Nov 2002
Location: in my house
Posts: 37
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
  #2 (permalink)  
Old 11-18-2004
dozy dozy is offline
Registered User
  
 

Join Date: Nov 2002
Location: in my house
Posts: 37
Found out how to get the info. But i still like to have time in the .history, anyone know how to get this??
  #3 (permalink)  
Old 11-18-2004
zazzybob's Avatar
zazzybob zazzybob is offline Forum Advisor  
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
  #4 (permalink)  
Old 11-18-2004
RTM's Avatar
RTM RTM is offline Forum Advisor  
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.
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 06:37 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0