[tac_plus] New suggestion for tac_plus on Linux
Elaine Doyle
elaine.doyle at salesforce.com
Tue Apr 26 11:52:19 UTC 2016
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
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>
More information about the tac_plus
mailing list