On 12/24/05, MK <[EMAIL PROTECTED]> wrote: > Hello > > I'm trying to log all command which are entered by users but till now still > without success. I think I was close with "accton" and "lastcomm" commands > but unfortunetaly it logs only commands without parameters, so for instance > if I disable pf, "pfctl -d" I have in log only pfctl so there is now way, to > figure out what exactly happened.
script is in base. $script -a /var/user/terminal-session.txt will log every thing to that file. Or and other file you choose. Some problems exist if users run screen manipulating programs like vi. They are documented in $man script Hope this helps :-) Kind Regards -- Siju Oommen George, Network Consultant. HiFX IT & MEDIA SERVICES PVT. LTD. http://www.hifx.net

