sudosh was trying to do this, I don't remember if that's still active.

You don't mention which OS you're using, but various ones have process
accounting that could do this.

seph

Matt Lawrence <[email protected]> writes:

> Due to some problems caused unintentionally by some users, we need to log 
> commands that are being run.  Right now the other sysadmin has added some 
> neat things to log the previous command ("history | tail -1") before 
> printing a prompt and I was wondering if anyone knows of a good way to log 
> the commands before they are executed.  Or, rather, to be able to grab the 
> command and do something when the return key is pressed, the actual 
> loggging part is easy.
>
> Suggestions?
>
> -- Matt
> It's not what I know that counts.
> It's what I can remember in time to use.
> _______________________________________________
> Tech mailing list
> [email protected]
> http://lopsa.org/cgi-bin/mailman/listinfo/tech
> This list provided by the League of Professional System Administrators
>  http://lopsa.org/
_______________________________________________
Tech mailing list
[email protected]
http://lopsa.org/cgi-bin/mailman/listinfo/tech
This list provided by the League of Professional System Administrators
 http://lopsa.org/

Reply via email to