The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
.
google unix.com



UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
users login lo-lp-kl Shell Programming and Scripting 3 05-23-2008 01:27 PM
restricting users privileges and logging their activities sh_ksa SUN Solaris 0 03-16-2007 06:38 AM
Users with login privileges sprellari Linux 2 08-23-2006 06:22 AM
Change users login name spacewalker AIX 9 03-20-2006 11:09 AM
NIS users cann't login on AIX and HP mod UNIX for Advanced & Expert Users 3 08-22-2001 12: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 08-01-2003
jyotipg jyotipg is offline
Registered User
  
 

Join Date: Oct 2001
Location: Bangalore
Posts: 95
Tracking activities of Users using a particular login.

Hi!! Experts,

I have a typical scenario here in which several users have access to a particular login .. say "build".

None of the users know the passwd for this login.
The name of some of the user have been to .rhosts file.
The users can connect only by doing a rlogin to this id and then they can do some set of operations.

I need to to track which user has rlogin to this login and which are the set of command which he has run as "build".

Right now its a chaos. Some user does a rlogin to this ID and mess up the file and I have no way to find the culprit.

Could you suggest any pointers how to track it??

Thanks in Advance..
  #2 (permalink)  
Old 08-01-2003
RTM's Avatar
RTM RTM is offline Forum Advisor  
Hog Hunter
  
 

Join Date: Apr 2002
Location: On my motorcycle
Posts: 3,039
Please post your OS/version and what shell the "build" account uses.

Look into the last command (man last), possibly the .sh_history, and possibly creating a log of their activites with the script command.
  #3 (permalink)  
Old 08-04-2003
jyotipg jyotipg is offline
Registered User
  
 

Join Date: Oct 2001
Location: Bangalore
Posts: 95
....

The OS used in HP-UX-11.0 and the shell is ksh
  #4 (permalink)  
Old 08-04-2003
Perderabo's Avatar
Perderabo Perderabo is offline Forum Staff  
Unix Daemon
  
 

Join Date: Aug 2001
Location: Ashburn, Virginia
Posts: 9,131
Chaos always results from group accounts. The solution is to not have a group account. Instead of a group account, you should be using a group group. That's what groups are for.

There are lots of ways to track what the user called "build" did. But that is not what you asked for.
  #5 (permalink)  
Old 08-04-2003
saabir saabir is offline
Registered User
  
 

Join Date: Sep 2002
Location: UK
Posts: 65
You could take RTM's suggestion of using the 'script' command and perhaps create a unique log of their session by naming the output file according to their IP address.

This assumes that they have unique IP addresses and that those are static - or else this is useless as you cannot isolate the person concerned very easily.
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 11:03 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