[tac_plus] New suggestion for tac_plus on Linux

Elaine Doyle elaine.doyle at salesforce.com
Thu Apr 28 09:02:46 UTC 2016


I'm not suggestion the addition of an init.d script.

I'm suggesting the addition of this

File:
/etc/logrotate.d/tac_plus

with contents:
/var/log/tac_plus.log
/var/log/tac_plus.acct {
   rotate 4
   weekly
  compress
  missingok
  notifempty
  postrotate
       <location of start script>  <load/reload/start/stop > /dev/null
  endscript




On Thu, Apr 28, 2016 at 9:56 AM, heasley <heas at shrubbery.net> wrote:

> Tue, Apr 26, 2016 at 12:52:19PM +0100, Elaine Doyle:
> > Hi folks.
> >
> > Wondering how I can go about recommending/providing an inclusion for log
> > rotation in tac_plus build for Linux
> > % rpm -qa | grep tacacs
> > tacacs+-F4.0.4.26-1.el6.x86_64
> >
> > If file "/etc/logrotate.d/tac_plus" is added to the RPM this will mean
> the
> > tac_plus.log gets setup to be rotated automatically & can easily be
>
> we do not supply the init.d script or the RPM.  I suggest a ticket with
> your linux distribution.
>
> > controlled within /etc/logrotate.d/logrotate.conf by the administrator if
> > required.
> >
> > [11:37]:ls -lh /var/log/tac*
> > -rw-r--r-- 1 root root 34153358204 Apr 17 03:31
> > /var/log/tac_plus.log-20160417
> > -rw-r--r-- 1 root root  2715867172 Apr 24 03:16
> > /var/log/tac_plus.log-20160424
> >
> > Create file:
> > /etc/logrotate.d/tac_plus
> >
> > Add:
> > /var/log/tac_plus.log
> > /var/log/tac_plus.acct {
> >   rotate 4
> >   weekly
> >   compress
> >   missingok
> >   notifempty
> >   postrotate
> >         /etc/init.d/tacplus force-reload > /dev/null
> >   endscript
> > }
> >
> >
> > Pre-req for operation: CRON.DAILY
> >
> > % cat /etc/cron.daily/logrotate
> >
> > ​
> >
> > Regards
> > Elaine Doyle
> >
> >
> >
> > --
> >
> > *Elaine Doyle*
> > *Lead Infrastructure Security Engineer:    * s <
> https://www.salesforce.com>
> > yssec at salesforce.com / krb-admin at salesforce.com
> > *Address:  Level 1, Block A, The Atrium, Sandyford Business Park, Dublin
> > 18, Ireland*
> > *Phone:   +353 1 5335025,  +353 86 8321417   **email: *
> > elaine.doyle at salesforce.com   *YIM: *edoyle_sfdc
> > *"I saw the crescent, but you saw the whole of the moon"*
> > -------------- next part --------------
> > An HTML attachment was scrubbed...
> > URL: <
> http://www.shrubbery.net/pipermail/tac_plus/attachments/20160426/444256e4/attachment.html
> >
> > -------------- next part --------------
> > A non-text attachment was scrubbed...
> > Name: Screen Shot 2016-04-26 at 12.50.48 PM.png
> > Type: image/png
> > Size: 12119 bytes
> > Desc: not available
> > URL: <
> http://www.shrubbery.net/pipermail/tac_plus/attachments/20160426/444256e4/attachment.png
> >
> > _______________________________________________
> > tac_plus mailing list
> > tac_plus at shrubbery.net
> > http://www.shrubbery.net/mailman/listinfo/tac_plus
>



-- 

*Elaine Doyle*
*Lead Infrastructure Security Engineer:    * s <https://www.salesforce.com>
yssec at salesforce.com / krb-admin at salesforce.com
*Address:  Level 1, Block A, The Atrium, Sandyford Business Park, Dublin
18, Ireland*
*Phone:   +353 1 5335025,  +353 86 8321417   **email: *
elaine.doyle at salesforce.com   *YIM: *edoyle_sfdc
*"I saw the crescent, but you saw the whole of the moon"*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.shrubbery.net/pipermail/tac_plus/attachments/20160428/8f7cb98b/attachment.html>


More information about the tac_plus mailing list