Re: Sudoreplay "linear" text output?
Thor Lancelot Simon <[email protected]>
| Newsgroups | gmane.comp.tools.sudo.user |
|---|---|
| Message-ID | <[email protected]> |
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. Thor ____________________________________________________________ sudo-users mailing list <[email protected]> For list information, options, or to unsubscribe, visit: https://www.sudo.ws/mailman/listinfo/sudo-users