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

Thor Lancelot Simon tls at panix.com
Thu Mar 8 07:02:38 MST 2018

On Thu, Mar 08, 2018 at 06:16:21AM -0700, Todd C. Miller wrote:
> 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.

Thanks!  The latter suggestion's exactly what I need.


More information about the sudo-users mailing list