01-20-2009
Bullet proof of user history activity
Hi, is there a bullet proof of getting the history of all commands entered by a user on a specific server and idealy with the times ?
We have several servers. Therefore we can simply logon to one and do RLOGINS to go to others. We always first logon to servers with our personnal login and then switch to root. From there we can either work directly or switch to a few other users. We have the option of connecting to another server using RLOGIN (but with first being root as we don`t have to enter passwords on the rlogined server).
I have to find out if a specific employee did some work over the weekend as it is causing major escalation pain.
I am not sure if just doing a ROOT> HISTORY -999 is safe enough to check the activity of any users on one specific server no matter how they connected to it.
[added comments]
I just remembered that someone here once retrieved every single screen outputs that was done on one specific server including command prompt. Maybe that is what I need but don't recall how he did it.
We are using /bin/ksh shell by the way and AIX v4.2
Last edited by Browser_ice; 01-20-2009 at 08:28 AM..
9 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Does anybody know how to force a user to automatically logoff a UNIX session if there is no keyboard activity for a period of time? We use COBOL and there is a BEFORE TIME option on the ACCEPT command, however, we do not want to change the many programs we have to detect this.
What we really... (3 Replies)
Discussion started by: MarkN
3 Replies
2. UNIX for Dummies Questions & Answers
Hi,
I have been asked if it is possible to track the last time a specific user logged in to the sysetm.
checked my documentation but can't see it there - google is not being very helpful either.
I wonder if someone here can help - it will be much appreciated.
Thanks
Suresh (1 Reply)
Discussion started by: sureshy
1 Replies
3. Shell Programming and Scripting
Hi there,
I'm looking for some help to get a little script done that shows me (or counts) only the added lines from an SVN repository of one specific user. Anybody has an idea?
Thanks, Michael (0 Replies)
Discussion started by: MichaelGiese
0 Replies
4. UNIX for Dummies Questions & Answers
What commands would you recommend in order to monitor things like when a user logs on to a server, assuming you know that user's name on the server? (2 Replies)
Discussion started by: Sotau
2 Replies
5. UNIX for Advanced & Expert Users
Hi all,
My need is :
1. To know who , when , which command used.
2. Local user should not delete this information.
I mean , with an example , i can say
i have a user user1
i need to give all the following permissions to user1, :
a. A specific directory other than his home... (3 Replies)
Discussion started by: linuxadmin
3 Replies
6. UNIX for Dummies Questions & Answers
Hi all,
My need is :
1. To know who , when , which command used.
2. Local user should not delete this information.
I mean , with an example , i can say
i have a user user1
i need to give all the following permissions to user1, :
a. A specific directory other than his home... (1 Reply)
Discussion started by: sriky86
1 Replies
7. Shell Programming and Scripting
Need some help in coming up to log all the activity that is used with our common "unix account".
Ideally I am looking for to log the activity in a "separate" file for each session or login until the user logout, I would like to capture the date/time and terminal login and record all the ... (3 Replies)
Discussion started by: rajmanna
3 Replies
8. UNIX for Dummies Questions & Answers
Hi All
Please can you help me with the following issue:
A certain vendor installed an application in which for a user to log in; the user must use a user created/predefined by the application. And because this application has more than one user its difficult to track who did what and when,... (6 Replies)
Discussion started by: fretagi
6 Replies
9. UNIX for Advanced & Expert Users
Hi All
We have a job which writes files to a server at a particular time. The files will be created by a particular user ID
Today, during the execution of the job, it created a file to the server and the file sat on the server for sometime, but was deleted immediately at the end of the... (4 Replies)
Discussion started by: sparks
4 Replies
LEARN ABOUT OSX
localemanager
localemanager(8) BSD System Manager's Manual localemanager(8)
NAME
localemanager -- Configure OpenDirectory Server Locales
SYNOPSIS
localemanager operation [-l localename] [-subnet 1.2.3.4/5] [-server servername] [-i IP address]
DESCRIPTION
localemanager creates, destroys, and edits OpenDirectory Server Locale information. Locales are collections of OpenDirectory servers to
assist clients in locating the nearest OpenDirectory Server.
To use OpenDirectory Server Locales, simply create a locale on an OD server with the createLocale operation. Then add servers and subnets to
the locale. All localemanager operations are performed on the local OpenDirectory node.
The first time a locale is created, a DefaultLocale will automatically be created as well. The DefaultLocale will be used for any clients
that don't match a subnet in any other locale.
Before a locale can be configured, the server must already be an OpenDirectory server.
Locales can be defined on each of the OD servers or on a single OD server in the group of OD master/replicas. For the latter, the locale
information will get replicated to all of the other servers but locales will need to be "enabled" on the other servers by running the command
localemanager enableLocales.
Commands:
help Displays the commands and options.
createLocale Creates a new locale on the local OD server. This command requires the -l option.
deleteLocale Deletes a locale from the local OD server. This command requires the -l option.
showLocale Displays the current locale(s). The -l option can be used to display a specific locale. If -l is not specified, all locales
are displayed.
enableLocales
Enables the use of locales on an OD server. This command is automatically run the first time any localemanager command is run
on an OD server. Therefore this command only needs to be run if no other localemanager commands have been (or will be) run on
this server.
addSubnet Adds a new subnet to the specified locale. This command requires the -l -subnet options.
removeSubnet Removes a subnet from the specified locale. This command requires -l -subnet options.
addServer Adds a server to the specified locale. This command requires the -l -server options. If the -i option is specified, that IP
address will be used by locale clients. This may be useful for multi-homed servers to restrict locale clients to a specific
network interface. If the -i option is not specified the IP address(es) will be looked up.
removeServer Removes a server from the specified locale. This command requires -l -server options. If the -i option is specified, only
that IP address will be removed from the locale. If the -i option is no specified, all of the server's IP addresses will be
removed from the locale.
Options:
-l locale Locale name.
-subnet 192.168.0.0/16
Subnet specified in CIDR notation.
-server server.example.com
Server fully-qualified domain name.
-i 192.168.1.1
Use this IP address for the server. Typically used to limit locale clients to a specific interface on a multi-homed server.
FILES
/var/log/localemanager.log localemanager log file.
SEE ALSO
slapconfig(8)
HISTORY
First introduced in Mac OS X 10.7
Darwin June 2, 2019 Darwin