I need your help in resolving the details of an idea that I had on enhancing user activity tracking.
The given is that the user has access to their own sh_history file and can make changes (i.e. cover their tracks). We’re utilizing the Bourne shell (/bin/sh) for our system functions and the Korn shell (/bin/ksh) for the user’s startup program.
What we need to figure out, is a way to duplicate what is written by the shell to a user’s sh_history file. The duplicate entry will need to be written to another specified file in a restricted directory (i.e. /var/adm/usrlog/.username.log). This way if the user deletes entries in their own sh_history file, the original commands will still exist in the duplicate file.
I am tired of user deniability. Any ideas? -B
birbone@earthlink.net
The given is that the user has access to their own sh_history file and can make changes (i.e. cover their tracks). We’re utilizing the Bourne shell (/bin/sh) for our system functions and the Korn shell (/bin/ksh) for the user’s startup program.
What we need to figure out, is a way to duplicate what is written by the shell to a user’s sh_history file. The duplicate entry will need to be written to another specified file in a restricted directory (i.e. /var/adm/usrlog/.username.log). This way if the user deletes entries in their own sh_history file, the original commands will still exist in the duplicate file.
I am tired of user deniability. Any ideas? -B
birbone@earthlink.net