Vulnerability Development mailing list archives

Re: History Files


From: dgarcia () UNPHU EDU DO (Dan Garcia)
Date: Sat, 15 Apr 2000 19:34:54 -0400


In /etc/profile u can set many things.
One is the HISTFILE.
Default is ~user/.bash_history
but u can specify another one.
May i add that login what user does on the shell can be futile.
And experience user can add to his .bash_profile the line:
export HISTFILE=/dev/null and voila! are never logged.

At 18:44 15/04/00 -0400, you wrote:
Greeting's,

I admin a few Linux servers and have a question about user's .bash_history
files. The users on the systems keep their history files but I would like
to have what they type logged to /root/history/$user_history
I know that this is not polite on my end or the other co-admin's but we
need to know what our users are doing at all times. These are slackware
boxes and some RedHat boxes.

Thanks

---------------
                   Don't waste your time on jealousy.
        Sometimes you're ahead, sometimes you're behind.
            The race is long and, in the end, it's only with
                                    yourself.


Current thread: