<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div></div><div>Am 28.04.2016 um 11:02 schrieb Elaine Doyle <<a href="mailto:elaine.doyle@salesforce.com">elaine.doyle@salesforce.com</a>>:</div><div><br></div><blockquote type="cite"><div><div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif">I'm not suggestion the addition of an init.d script.</div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div></div></div></blockquote><br>We do not create the rpms. I believe that the rpm info shows the party who is responsible. <div><br><blockquote type="cite"><div><div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif">I'm suggesting the addition of this</div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif"><span style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:12.8px">File:</span><br style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:12.8px"><span style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:12.8px">/etc/logrotate.d/tac_plus</span><br style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:12.8px"><br style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:12.8px"><span style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:12.8px">with contents:</span><br style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:12.8px"><span style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:12.8px">/var/log/tac_plus.log</span><br style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:12.8px"><span style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:12.8px">/var/log/tac_plus.acct {</span><br style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:12.8px"><span style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:12.8px">   rotate 4</span><br style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:12.8px"><span style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:12.8px">   weekly</span><br style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:12.8px"><span style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:12.8px">  compress</span><br style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:12.8px"><span style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:12.8px">  missingok</span><br style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:12.8px"><span style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:12.8px">  notifempty</span><br style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:12.8px"><span style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:12.8px">  postrotate</span><br style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:12.8px"><span style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:12.8px">       <location of start script>  <load/reload/start/stop > /dev/null</span><br style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:12.8px"><span style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:12.8px">  endscript</span><br style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:12.8px"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style=""><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Apr 28, 2016 at 9:56 AM, heasley <span dir="ltr"><<a href="mailto:heas@shrubbery.net" target="_blank">heas@shrubbery.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Tue, Apr 26, 2016 at 12:52:19PM +0100, Elaine Doyle:<br>
<span class="">> Hi folks.<br>
><br>
> Wondering how I can go about recommending/providing an inclusion for log<br>
> rotation in tac_plus build for Linux<br>
> % rpm -qa | grep tacacs<br>
> tacacs+-F4.0.4.26-1.el6.x86_64<br>
><br>
> If file "/etc/logrotate.d/tac_plus" is added to the RPM this will mean the<br>
> tac_plus.log gets setup to be rotated automatically & can easily be<br>
<br>
</span>we do not supply the init.d script or the RPM.  I suggest a ticket with<br>
your linux distribution.<br>
<span class=""><br>
> controlled within /etc/logrotate.d/logrotate.conf by the administrator if<br>
> required.<br>
><br>
> [11:37]:ls -lh /var/log/tac*<br>
> -rw-r--r-- 1 root root 34153358204 Apr 17 03:31<br>
> /var/log/tac_plus.log-20160417<br>
> -rw-r--r-- 1 root root  2715867172 Apr 24 03:16<br>
> /var/log/tac_plus.log-20160424<br>
><br>
> Create file:<br>
> /etc/logrotate.d/tac_plus<br>
><br>
> Add:<br>
> /var/log/tac_plus.log<br>
> /var/log/tac_plus.acct {<br>
>   rotate 4<br>
>   weekly<br>
>   compress<br>
>   missingok<br>
>   notifempty<br>
>   postrotate<br>
>         /etc/init.d/tacplus force-reload > /dev/null<br>
>   endscript<br>
> }<br>
><br>
><br>
> Pre-req for operation: CRON.DAILY<br>
><br>
> % cat /etc/cron.daily/logrotate<br>
><br>
> ​<br>
><br>
</span>> Regards<br>
> Elaine Doyle<br>
><br>
><br>
><br>
> --<br>
><br>
> *Elaine Doyle*<br>
> *Lead Infrastructure Security Engineer:    * s <<a href="https://www.salesforce.com" rel="noreferrer" target="_blank">https://www.salesforce.com</a>><br>
> <a href="mailto:yssec@salesforce.com">yssec@salesforce.com</a> / <a href="mailto:krb-admin@salesforce.com">krb-admin@salesforce.com</a><br>
> *Address:  Level 1, Block A, The Atrium, Sandyford Business Park, Dublin<br>
> 18, Ireland*<br>
> *Phone:   <a href="tel:%2B353%201%205335025" value="+35315335025">+353 1 5335025</a>,  <a href="tel:%2B353%2086%208321417" value="+353868321417">+353 86 8321417</a>   **email: *<br>
> <a href="mailto:elaine.doyle@salesforce.com">elaine.doyle@salesforce.com</a>   *YIM: *edoyle_sfdc<br>
> *"I saw the crescent, but you saw the whole of the moon"*<br>
> -------------- next part --------------<br>
> An HTML attachment was scrubbed...<br>
> URL: <<a href="http://www.shrubbery.net/pipermail/tac_plus/attachments/20160426/444256e4/attachment.html" rel="noreferrer" target="_blank">http://www.shrubbery.net/pipermail/tac_plus/attachments/20160426/444256e4/attachment.html</a>><br>
> -------------- next part --------------<br>
> A non-text attachment was scrubbed...<br>
> Name: Screen Shot 2016-04-26 at 12.50.48 PM.png<br>
> Type: image/png<br>
> Size: 12119 bytes<br>
> Desc: not available<br>
> URL: <<a href="http://www.shrubbery.net/pipermail/tac_plus/attachments/20160426/444256e4/attachment.png" rel="noreferrer" target="_blank">http://www.shrubbery.net/pipermail/tac_plus/attachments/20160426/444256e4/attachment.png</a>><br>
> _______________________________________________<br>
> tac_plus mailing list<br>
> <a href="mailto:tac_plus@shrubbery.net">tac_plus@shrubbery.net</a><br>
> <a href="http://www.shrubbery.net/mailman/listinfo/tac_plus" rel="noreferrer" target="_blank">http://www.shrubbery.net/mailman/listinfo/tac_plus</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><table border="0" cellpadding="0"><tbody><tr><td style="padding:0.75pt"><p><a name="UNIQUE_ID_SafeHtmlFilter_UNIQUE_ID_SafeHtmlFilter_UNIQUE_ID_SafeHtmlFilter_UNIQUE_ID_SafeHtmlFilter_UNIQUE_ID_SafeHtmlFilter_UNIQUE_ID_SafeHtmlFilter_141e6026c75a4d0f_141e5faa753766e6_SafeHtmlFilter_SafeHtmlFilter__MailAutoSig"><b><span style="font-size:9pt;font-family:Arial,sans-serif;color:red">Elaine Doyle</span></b></a><b><span style="font-size:9pt;font-family:Arial,sans-serif"><br></span></b><font size="1"><i>Lead Infrastructure Security Engineer:    </i> <font color="#0000ff"><a href="https://www.salesforce.com" target="_blank">s</a><a href="mailto:yssec@salesforce.com" target="_blank">yssec@salesforce.com</a> / <a href="mailto:krb-admin@salesforce.com" target="_blank">krb-admin@salesforce.com</a></font><br><i>Address:  Level 1, Block A, The Atrium, Sandyford Business Park, Dublin 18, Ireland</i><br><i>Phone:   +353 1 5335025,  +353 86 8321417   </i></font><font size="1"><i>email: </i><a href="mailto:elaine.doyle@salesforce.com" target="_blank">elaine.doyle@salesforce.com</a><i>   </i></font><span style="font-size:x-small"><i>YIM: </i><font color="#0000ff">edoyle_sfdc</font></span></p></td></tr></tbody></table><font color="#c27ba0" size="2"><i>"I saw the crescent, but you saw the whole of the moon"</i></font></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
</div>
</div></blockquote></div></body></html>