Re: How to log - commands and file access
Mike Blomgren <[email protected]> Mon, 12 Nov 2007 15:47:12 +0100
| Newsgroups | gmane.comp.sysutils.loganalysis |
|---|---|
| Message-ID | <[email protected]> |
Hi, To log all commands from bash I have used Bash-BOFH. Found here: http://www.ccitt5.net/archives/ It patches the bash source to send all commands to a syslog. It works very well, but unfortunately requires bash 2.05, and doesn't work for the newer 3.0 AFAIK. ~Mike [email protected] wrote: Hello, I want to known for a customer, how to log automatically on UNIX and Linux system : - all commands executed (in BASH, ZSH & co ...). I know but the file ~/.(ba)sh_history but I prefer a global file or through syslog. - all file access by process and username in real-time (not static) or if it's not possible, which process and username access to some files (or directory) like /etc/shadow, /data/ ... Regards, ---------------------------------------------------------------------- David Bigot - Consultant sécurité Apogée Communications - Groupe DEVOTEAM 86, rue Anatole France 92300 Levallois-Perret téléphone: ()1.41.49.58.04 email: [email protected] ---------- _______________________________________________ LogAnalysis mailing list [email protected] http://www.loganalysis.org/mailman/listinfo/loganalysis _______________________________________________ LogAnalysis mailing list [email protected] http://www.loganalysis.org/mailman/listinfo/loganalysis