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
Logging command invocations - cmdlog Driver UNIX for Dummies Questions & Answers 1 05-15-2004 04:30 PM
What is command for logging? dtamminx UNIX for Dummies Questions & Answers 3 02-11-2003 02:58 PM
logging The Fridgerator Security 5 08-20-2002 03:12 AM
SSH and command logging penguin-friend UNIX for Advanced & Expert Users 2 02-25-2002 02:11 AM

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-12-2006
Registered User
 

Join Date: Apr 2006
Posts: 2
Command Logging in SCO

Hello, new user here. I am the "administrator" for a few SCO Unix servers here, but do not have much Unix administration experience other than some basic stuff (don't ask).

Anyway, I have been charged with finding a way to log all users commands for auditing purposes. This includes root. The log file should contain the command that was run, the user that invoked it, and the date and time of execution. Other data may be useful, but is not required. This log file should not be accessible by any users other than root, or they could obviously edit the file if they did something "bad".

I've looked at syslog and don't think it will give me what I need. I've also looked at pacct, but not sure if that works either. Maybe it's a setup issue? I have read through several man pages (syslog, syslogd, syslog.conf, pacct, etc) as well as a few printouts from various sites, but nothing looks like what I'm searching for. I've tried the search here as well and found that pacct seems the closest, but I'm not so sure.

We use Windows boxes running Reflections to telnet into the Unix boxes. Our Corporate office has decreed that we use a script that does log all user commands. To even use this script, we have to set up Reflection icons that will automatically enter the user into this script and then hide the ability to change the settings of the Reflection configuration. The logs from this script are editable (just hidden) and there are too many back-doors (rlogin/ftp/telnet/etc) to bypass it. Too much of a rigamarole for something that really does not work. As I see it, we need OS level logging.

If anyone can point me in the right direction, I would be eternally grateful.

Thanks in advance!
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 04-13-2006
Registered User
 

Join Date: Nov 2005
Location: Arizona
Posts: 81
Do some reading on different shells. Many supply a .sh_history for each user which might be a good start for you. Apart from homegrowing your solution, I am sure there are products out there I just don't shop for them
Reply With Quote
  #3 (permalink)  
Old 04-13-2006
Registered User
 

Join Date: Apr 2006
Posts: 2
Sorry, I forgot to say we use the bash shell. I just figured there would be something built-in to the O/S that would do what we are seeking since Unix was designed as a multi-user O/S and all. I have no idea really where to start. We do have the history, but it doesn't have data/time of the executed command, nor who ran it.
Reply With Quote
Google UNIX.COM
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 05:59 PM.


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