The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > Linux
.
google unix.com



Linux RedHat, Ubuntu, SUSE, Fedora, Debian, Mandriva, Slackware, Gentoo linux, PCLinuxOS. All Linux questions here!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
ssh session hangs chaandana UNIX for Advanced & Expert Users 3 05-02-2008 11:27 AM
display while in ftp session vivek_damodaran Shell Programming and Scripting 2 11-06-2007 01:45 PM
Telnet Session to AIX bluebee UNIX for Dummies Questions & Answers 1 08-07-2007 03:19 PM
sqlplus session being able to see unix variables session within a script 435 Gavea Shell Programming and Scripting 2 07-03-2006 10:11 AM
is it possible to ssh within an ssh session? noamkrief UNIX for Dummies Questions & Answers 4 11-14-2003 05:16 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 02-10-2008
mm00123 mm00123 is offline
Registered User
  
 

Join Date: Jul 2007
Posts: 60
Question log session

How could I log a seesion on unix machine...log all the commands applied on the server by a user
  #2 (permalink)  
Old 02-10-2008
DukeNuke2's Avatar
DukeNuke2 DukeNuke2 is online now Forum Staff  
Soulman
  
 

Join Date: Jul 2006
Location: Germany, Berlin
Posts: 2,955
this should solve your problem:
Less known Solaris features: Auditing - c0t0d0s0.org
  #3 (permalink)  
Old 02-10-2008
otheus's Avatar
otheus otheus is offline Forum Staff  
Moderator ala Mode
  
 

Join Date: Feb 2007
Location: Innsbruck, Austria
Posts: 1,884
rootsh vs auditing

Quote:
Originally Posted by DukeNuke2 View Post
The advantage of the above tool is that you can track all exec() calls made by a particular user; only a very clever hacker-user would be able to hide his tracks.

The advantage of the rootsh tool is that it is not Solaris-specific, and tracks actual command-line usage. The advantage of command-line usage is you can see what the user was trying to do, whereas with auditing, you see what the user actually did.

The choice depends on whether you are trying to account for activity ("Why is the computer always slow when Joe is using it"), or track what users are trying to accomplish. ("I typed make, but it didn't work!")

PS: If you are trying to help users through shell interactions, a useful tool is screen (GNU), which allows users to "share" a virtual terminal.
  #4 (permalink)  
Old 02-10-2008
otheus's Avatar
otheus otheus is offline Forum Staff  
Moderator ala Mode
  
 

Join Date: Feb 2007
Location: Innsbruck, Austria
Posts: 1,884
Logging user activity

I recommend the rootsh utility found at SourceForge.net: rootsh.
  #5 (permalink)  
Old 02-10-2008
DukeNuke2's Avatar
DukeNuke2 DukeNuke2 is online now Forum Staff  
Soulman
  
 

Join Date: Jul 2006
Location: Germany, Berlin
Posts: 2,955
Quote:
Originally Posted by otheus View Post
I recommend the rootsh utility found at SourceForge.net: rootsh.
why not use the onboard tool?
  #6 (permalink)  
Old 02-10-2008
otheus's Avatar
otheus otheus is offline Forum Staff  
Moderator ala Mode
  
 

Join Date: Feb 2007
Location: Innsbruck, Austria
Posts: 1,884
onboard tool?

Have you a link for this "onboard" tool? Unfortunately the name is too common for Google to return interesting results.
  #7 (permalink)  
Old 02-10-2008
DukeNuke2's Avatar
DukeNuke2 DukeNuke2 is online now Forum Staff  
Soulman
  
 

Join Date: Jul 2006
Location: Germany, Berlin
Posts: 2,955
Quote:
Originally Posted by otheus View Post
Have you a link for this "onboard" tool? Unfortunately the name is too common for Google to return interesting results.
read my first post...
Closed Thread

Bookmarks

Tags
linux, linux commands, solaris, unix commands

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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 10:52 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