<div dir="ltr">Thanks for the feedback Steve.</div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">--------------------------<br><font color="#000099" size="4">Warron French<br><font size="4"><font size="4"><font size="4"><br></font></font></font></font></div></div></div>
<br><div class="gmail_quote">On Tue, May 1, 2018 at 5:53 PM, Steve Grubb <span dir="ltr"><<a href="mailto:sgrubb@redhat.com" target="_blank">sgrubb@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Tuesday, May 1, 2018 2:29:56 PM EDT warron.french wrote:<br>
> OK, so that will cover from CLI as well as something in the gui like<br>
> Firefox?<br>
> <br>
> For both printing to a print device as well as to a file?<br>
<br>
</span>I haven't looked at this code in a very long time. So, I don't remember how <br>
to enable it to test it. But it should have full coverage to meet export <br>
requirements for LSPP way back on RHEL 5. The code has been ported all these <br>
years and is supposed to still work.<br>
<span class="HOEnZb"><font color="#888888"><br>
-Steve<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
> On Tue, May 1, 2018 at 2:20 PM, Steve Grubb <<a href="mailto:sgrubb@redhat.com">sgrubb@redhat.com</a>> wrote:<br>
> > On Tuesday, May 1, 2018 2:05:36 PM EDT warron.french wrote:<br>
> > > I have a requirement to monitor two (2) things:<br>
> > > <br>
> > > 1. Print to file<br>
> > > <br>
> > > 2. Print to (printer) device<br>
> > > <br>
> > > <br>
> > > What is the best approach for this?<br>
> > <br>
> > Cups should be hardwired to audit.<br>
> > <br>
> > # ldd /usr/sbin/cupsd | grep audit<br>
> > <br>
> >         libaudit.so.1 => /lib64/libaudit.so.1 (0x00007f04f1cfa000)<br>
> > <br>
> > It's been a long time since I looked at this.<br>
> > <br>
> > -Steve<br>
> > <br>
> > > I don't see a syscall that looks<br>
> > > appropriate - but that doesn't mean there is not one.<br>
> > > <br>
> > > Would I simply do an audit on the *lpr* command?  Or is it another<br>
> > <br>
> > command?<br>
> > <br>
> > > I need the ability to monitor printing to both file and device, *FROM*,<br>
> > > linux shell as well as console or GUI.<br>
> > > <br>
> > > Can someone advise me on how to accomplish this please?<br>
> > > <br>
> > > <br>
> > > Thanks in advance,<br>
> > > --------------------------<br>
> > > Warron French<br>
<br>
<br>
<br>
<br>
</div></div></blockquote></div><br></div>