How to log - commands and file access

[email protected] Fri, 9 Nov 2007 09:25:47 +0100
Newsgroups gmane.comp.sysutils.loganalysis
Message-ID <OFFDFF3E53.51B1C70A-ONC125738E.002E3425-C125738E.002E4E89@devoteam.com>
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