Re: Sudoreplay "linear" text output?

"Todd C. Miller" <[email protected]>
Newsgroups gmane.comp.tools.sudo.user
Message-ID <[email protected]>
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
____________________________________________________________
sudo-users mailing list <[email protected]>
For list information, options, or to unsubscribe, visit:
https://www.sudo.ws/mailman/listinfo/sudo-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.