<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta name=Title content=""><meta name=Keywords content=""><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:Calibri;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:Calibri;
color:windowtext;}
span.msoIns
{mso-style-type:export-only;
mso-style-name:"";
text-decoration:underline;
color:teal;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:Calibri;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style></head><body bgcolor=white lang=EN-US link="#0563C1" vlink="#954F72"><div class=WordSection1><p class=MsoNormal style='text-autospace:none'><span style='font-size:11.0pt'>I'm on F4.0.4.26.</span><o:p></o:p></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:11.0pt'> </span><o:p></o:p></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:11.0pt'>I've seen a few examples of logging AAA with tac_plus. The most documented is the "accounting" option.</span><o:p></o:p></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:11.0pt'> </span><o:p></o:p></p><p class=MsoNormal style='margin-left:48.0pt;text-indent:-48.0pt;text-autospace:none'><span style='font-size:11.0pt'>accounting syslog;</span><o:p></o:p></p><p class=MsoNormal style='margin-left:48.0pt;text-indent:-48.0pt;text-autospace:none'><span style='font-size:11.0pt'>-or-</span><o:p></o:p></p><p class=MsoNormal style='margin-left:48.0pt;text-indent:-48.0pt;text-autospace:none'><span style='font-size:11.0pt'>accountig file = /var/log/tac_plus.acct</span><o:p></o:p></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:11.0pt'> </span><o:p></o:p></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:11.0pt'>This works fine. I have it set up, logging correctly, logrotate running, etc. It’s also documented just about everywhere I’ve seen, but seems like it’s the only official means to log something.</span><o:p></o:p></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:11.0pt'> </span><o:p></o:p></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:11.0pt'>I'd like to log authentication and authorization as well, if possible. I've come across reference to the following configuration:</span><o:p></o:p></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:11.0pt'> </span><o:p></o:p></p><p class=MsoNormal style='margin-left:48.0pt;text-indent:-48.0pt;text-autospace:none'><span style='font-size:11.0pt'>accounting log = /var/log/tac_plus/accounting.log</span><o:p></o:p></p><p class=MsoNormal style='margin-left:48.0pt;text-indent:-48.0pt;text-autospace:none'><span style='font-size:11.0pt'>authentication log = /var/log/tac_plus/authentication.log</span><o:p></o:p></p><p class=MsoNormal style='margin-left:48.0pt;text-indent:-48.0pt;text-autospace:none'><span style='font-size:11.0pt'>authorization log = /var/log/tac_plus/authorization.log</span><o:p></o:p></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:11.0pt'> </span><o:p></o:p></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:11.0pt'>This seems to be either a) outdated or b) poorly referenced as it doesn't work globally. A reference configuration I have from a version so old it's expressed in a date format (201211021744) places it within an "id" container.</span><o:p></o:p></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:11.0pt'> </span><o:p></o:p></p><p class=MsoNormal style='margin-left:48.0pt;text-indent:-48.0pt;text-autospace:none'><span style='font-size:11.0pt'>id = tac_plus {</span><o:p></o:p></p><p class=MsoNormal style='margin-left:48.0pt;text-indent:-48.0pt;text-autospace:none'><span style='font-size:11.0pt'> accounting log = /var/log/tac_plus/accounting.log</span><o:p></o:p></p><p class=MsoNormal style='margin-left:48.0pt;text-indent:-48.0pt;text-autospace:none'><span style='font-size:11.0pt'> authentication log = /var/log/tac_plus/authentication.log</span><o:p></o:p></p><p class=MsoNormal style='margin-left:48.0pt;text-indent:-48.0pt;text-autospace:none'><span style='font-size:11.0pt'> authorization log = /var/log/tac_plus/authorization.log</span><o:p></o:p></p><p class=MsoNormal style='margin-left:48.0pt;text-indent:-48.0pt;text-autospace:none'><span style='font-size:11.0pt'>}</span><o:p></o:p></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:11.0pt'> </span><o:p></o:p></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:11.0pt'>I haven't tried this in v4 yet since I can't find (presumably) current reference for it, but it’s working in the older version.</span><o:p></o:p></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:11.0pt'> </span><o:p></o:p></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:11.0pt'>I've also found reference to setting the appropriate -d flags when running tac_plus and getting this information as more of a "happy accident" (their words) in that the debugged info will hit the syslog daemon and be shuffled to the appropriate log files vs. a means configured specifically in the tac_plus config file.</span><o:p></o:p></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:11.0pt'> </span><o:p></o:p></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:11.0pt'>What’s the most appropriate / supported way to log this information, if any?</span><o:p></o:p></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:11.0pt'> </span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt'>Thanks!</span><o:p></o:p></p></div></body></html>