Session recording

Thomas Charron twaffle at gmail.com
Sat Mar 29 09:09:06 EDT 2008


On Sat, Mar 29, 2008 at 8:51 AM, Kenny Lussier <klussier at gmail.com> wrote:
>  The control characters aren't the only reason that script doesn't work
>  for us. Script will write out to a file, but the lines aren't time
>  stamped, so it's impossible to know when a command was run. Also, the
>  file would need to be writable by the user, which defeats the point of
>  all the logging :-)
>  I've been looking at the bash-paranoia patch, which might fit the
>  bill. It writes out all commands executed to syslog, which is nice. It
>  doesn't record the output, though. The other problem is scripts.
>  Someone can copy a script to a box and run it, and the only thing that
>  is logged is the executed script name, not what was actually done...
>  So many holes, so little time.

  If you want to log what a script does, your talking about needing a
modified version of every single shell, or only having one on the
system.  Scripts are run in a subshell much of the time.

-- 
-- Thomas


More information about the gnhlug-discuss mailing list