PaulDotCom mailing list archives
Archiving History files
From: mailinglistmatt at gmail.com (Matt Erasmus)
Date: Tue, 19 Jan 2010 15:56:35 +0200
Why not log your bash commands to syslog with logger and some /etc/bashrc trickery ? I found this very useful when I was looking at doing this: http://blog.rootshell.be/2009/02/28/bash-history-to-syslog/ 2010/1/19 Monkey Daemon <monkeywebdaemon at googlemail.com>:
I've just discovered a system on which one of our darling users has decided adding a script to his .bash_logout file that removes .bash_history on logout is a clever thing to do. Is there a way to take a copy of the .bash_history file before it is deleted? This user obviously has something to hide as far as I'm concerned, so I need to archive this file to present it as evidence.
-- Matt Erasmus /* @z0nbi / http://www.zonbi.org */
Current thread:
- Archiving History files Monkey Daemon (Jan 19)
- Archiving History files Robin Wood (Jan 19)
- Archiving History files Tim Krabec (Jan 19)
- Archiving History files Matt Erasmus (Jan 19)
- Archiving History files Carlos Perez (Jan 19)
- Archiving History files Robin Wood (Jan 19)
- Archiving History files Nick Baronian (Jan 19)
- Archiving History files Tim Krabec (Jan 19)
- Archiving History files Dave Ockwell-Jenner (Jan 19)
- Archiving History files Michael McGrew (Jan 19)
- <Possible follow-ups>
- Archiving History files genesiswave at gmail.com (Jan 19)