Visit Our UNIX and Linux User Community


Tracking activities of Users using a particular login.


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Tracking activities of Users using a particular login.
# 1  
Old 08-01-2003
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.. Smilie
# 2  
Old 08-01-2003
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  
Old 08-04-2003
....

The OS used in HP-UX-11.0 and the shell is ksh
# 4  
Old 08-04-2003
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  
Old 08-04-2003
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.

Previous Thread | Next Thread
Test Your Knowledge in Computers #118
Difficulty: Easy
A Unix-like OS is the one that works like Unix systems, however, Unix-like system do not necessarily conform to the Single UNIX Specification (SUS) or POSIX (Portable Operating System Interface) standards.
True or False?

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Tracking users through history command

Hi folks, I have the basic query that there are 3 unix boxes having their individual access now in my team there are 4 members who are using the same credentials to access those 3 boxes through putty ssh from their windows desktop , now if i want to check which 4 members have executed the... (1 Reply)
Discussion started by: punpun66
1 Replies

2. Shell Programming and Scripting

shell script for monitoring users activities

hi I need a shell script which runs perpetually in background and monitors different aspects of different users on different files and their usages for example say there r 3 users so i want when they log in i.e. their log in time and their file access, modify and change log of each file of a... (3 Replies)
Discussion started by: rrd1986
3 Replies

3. UNIX and Linux Applications

iPlanet Lost Login Tracking

I have been researching if it is possible to track a user's last login within iPlanet LDAP (now called Directory Server) and have thus far found nothing positive, but rather a few articles saying it is not possible. Could someone confirm/deny that iPlanet can/can't track a user's last login... (10 Replies)
Discussion started by: jdian
10 Replies

4. Shell Programming and Scripting

Shell script in tracking both the passed and failed login in a unix server

Can you help me in providing the following output or a quite similar to this from a shell script ? *** Logins Summary Information ***** ---------------------------------- Failed Login Attempts for Invalid Accounts Date Time IP-ADD Account ... (0 Replies)
Discussion started by: linuxgeek
0 Replies

5. HP-UX

No users can login

Dear Forum, I had this case before, all of sudden all users including root can't login. What done is by connecting to console port and resetting root password, "pwunconv" command, reboot server. My question is, how this can happen??? thanks :confused: (3 Replies)
Discussion started by: irda
3 Replies

6. UNIX for Dummies Questions & Answers

tracking root users

Hi everyone hope you can help me i have 5 root users and the problem with that is how can you see witch root user did what on the box how can you track the users that played on the servers. 1) What commands they typed (in linux you get history ) 2) From witch ip did they connect to the server (3 Replies)
Discussion started by: sucram
3 Replies

7. Shell Programming and Scripting

users login

Hello everyone I need to send to a file the last command from all users who log in and log out by week or month. My questions are I can do it with the command or I need to do a script ? If the answer is I need to do a script, someone can help me because Im complete new to make a... (3 Replies)
Discussion started by: lo-lp-kl
3 Replies

8. Solaris

restricting users privileges and logging their activities

Hello, I'm administrating new installed cluster that runs Legato Networker and Oracle 9. And I want to restrict the use of root to my self and givr the application and DBA the proper and needed privileges to do their duties without hassle in addition I would like to log users activities. my... (0 Replies)
Discussion started by: sh_ksa
0 Replies

9. Linux

Users with login privileges

Hi. I need the name for one command which I cant remember. This command displays all users which can log in to the system, wether they are stored in /etc/passwd, NIS og LDAP. Does anyone remember what command this is? (2 Replies)
Discussion started by: sprellari
2 Replies

10. AIX

Change users login name

Hi, I need to change some users login name in AIX. With solaris i donīt had problems, i have used "usermod". But in AIX the usermod command donīt have the same behavior. Can someone give me a tip on how to perform these changes? Thanks in advance. (9 Replies)
Discussion started by: spacewalker
9 Replies

Featured Tech Videos