[sudo-users] Sudoreplay "linear" text output?

Todd C. Miller Todd.Miller at sudo.ws
Thu Mar 8 06:16:21 MST 2018

On Thu, 08 Mar 2018 07:41:33 -0500, Thor Lancelot Simon wrote:

> I have an application where I need users to record and approve each
> others' sudo session logs.  I've had a few requests for "plain text"
> output like what we'd get from script(1), rather than the time-accurate
> (or sped up) output sudoreplay gives by default.
> I realize this will do screwy things with any kind of full-screen
> program.  Still, it would be nice to have for reviewing long shell
> sessions, etc.
> I don't see an obvious way to get this, looking at the sudoreplay manpage,
> but maybe I'm missing something.  Is there an easy way to produce this
> kind of output already, before I look at adding one?

If you use the -m option with a negative number it will effectively
skip the pauses.  Alternately, you could just gzcat the ttyout file
from in the timestamp directory.  It is just a plain gzip file.

 - todd

More information about the sudo-users mailing list