bash commands > syslog??

Simon Burton simonb at
Fri Dec 27 16:23:41 EST 2002

On Fri, 27 Dec 2002 14:15:10 +1100
Andrew Donehue <andrew at> wrote:

> Hi All!
>            I have around 14 servers all sending their syslog info to one 
> box - it is simple, and is great for monitoring... What I would also 
> like to do is monitor all bash commands executed by users (but not 
> normal scripts, etc..) to a central syslog server.... any suggestions on 
> how to do this without editing and re-compiling the bash source?
> Cheers,
>           Andrew.

there's a BSD command called "script" and it feret's all shell io away to a file;
would be a place to start your hacking.

Simon Burton

More information about the linux mailing list