<html xmlns:v="urn:schemas-microsoft-com:vml" 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 HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 12 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
@font-face
{font-family:"OCR A Extended";
panose-1:2 1 5 9 2 1 2 1 3 3;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
{mso-style-priority:99;
mso-style-link:"Plain Text Char";
margin:0in;
margin-bottom:.0001pt;
font-size:10.5pt;
font-family:Consolas;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.PlainTextChar
{mso-style-name:"Plain Text Char";
mso-style-priority:99;
mso-style-link:"Plain Text";
font-family:Consolas;}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
/* List Definitions */
@list l0
{mso-list-id:58097312;
mso-list-type:hybrid;
mso-list-template-ids:304275110 517270526 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l0:level1
{mso-level-tab-stop:none;
mso-level-number-position:left;
margin-left:.75in;
text-indent:-.25in;}
@list l0:level2
{mso-level-tab-stop:1.0in;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level3
{mso-level-tab-stop:1.5in;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level4
{mso-level-tab-stop:2.0in;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level5
{mso-level-tab-stop:2.5in;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level6
{mso-level-tab-stop:3.0in;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level7
{mso-level-tab-stop:3.5in;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level8
{mso-level-tab-stop:4.0in;
mso-level-number-position:left;
text-indent:-.25in;}
@list l0:level9
{mso-level-tab-stop:4.5in;
mso-level-number-position:left;
text-indent:-.25in;}
ol
{margin-bottom:0in;}
ul
{margin-bottom:0in;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoPlainText>Currently running 1.1.3 on CentOS 5.x.<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>I am currently using the flat file option and it works just fine as long as the permissions on the file are:<o:p></o:p></p><p class=MsoPlainText> 664 RW-RW-R—<o:p></o:p></p><p class=MsoPlainText> Record in the file looks like:<o:p></o:p></p><p class=MsoPlainText> Tom <tab> Auth-Type := Local, User-Password := “tompass”<o:p></o:p></p><p class=MsoPlainText>This allows everyone to read the file – not good security.<o:p></o:p></p><p class=MsoPlainText>If I change the permissions to 660 RW-RW---- then freeRADIUS will not restart.<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>I started setting up freeRADIUS to use MySQL DB for access but I must have something setup incorrectly.<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>I tried to follow the How-To but still must be missing something in the setup.<o:p></o:p></p><p class=MsoPlainText>I have inserted a record into DB=radius and TALBE=radcheck where:<o:p></o:p></p><p class=MsoPlainText> Id = selected by the MySQL as the next index number<o:p></o:p></p><p class=MsoPlainText> UserName = tom<o:p></o:p></p><p class=MsoPlainText> Attribute = ‘Cleartext-Password’ <o:p></o:p></p><p class=MsoPlainText> Op = ‘:=’<o:p></o:p></p><p class=MsoPlainText> Value = tompass is the password<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>So my questions are:<o:p></o:p></p><p class=MsoPlainText style='margin-left:.75in;text-indent:-.25in;mso-list:l0 level1 lfo1'><![if !supportLists]><span style='mso-list:Ignore'>1.<span style='font:7.0pt "Times New Roman"'> </span></span><![endif]> Is there a way to just secure the flatfile permissions?<o:p></o:p></p><p class=MsoPlainText style='margin-left:.75in;text-indent:-.25in;mso-list:l0 level1 lfo1'><![if !supportLists]><span style='mso-list:Ignore'>2.<span style='font:7.0pt "Times New Roman"'> </span></span><![endif]> Is there a complete How-To for using MySQL with freeRADIUS?<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal style='text-indent:.5in;text-autospace:none'><b><i><span style='font-size:8.0pt;font-family:"Arial","sans-serif"'>Thanks,<o:p></o:p></span></i></b></p><p class=MsoNormal style='text-indent:.5in;text-autospace:none'><b><i><span style='font-size:8.0pt;font-family:"Arial","sans-serif"'><o:p> </o:p></span></i></b></p><p class=MsoNormal style='text-indent:.5in;text-autospace:none'><b><i><span style='font-size:8.0pt;font-family:"Arial","sans-serif"'>Tom Schmitt<o:p></o:p></span></i></b></p><p class=MsoNormal style='text-indent:.5in;text-autospace:none'><i><span style='font-size:8.0pt;font-family:"Arial","sans-serif"'>Senior IT Staff - R&D</span></i><span style='font-size:8.0pt;font-family:"Arial","sans-serif"'><o:p></o:p></span></p><p class=MsoNormal style='text-indent:.5in;text-autospace:none'><span style='font-size:8.0pt;font-family:"Arial","sans-serif"'>L-3 Communication Systems West<o:p></o:p></span></p><p class=MsoNormal style='text-indent:.5in;text-autospace:none'><span style='font-size:8.0pt;font-family:"Arial","sans-serif"'>Phone (801) <i>594-3030</i><o:p></o:p></span></p><p class=MsoNormal style='margin-left:.25in;text-indent:.25in;text-autospace:none'><b><i><span style='font-size:8.0pt;font-family:"Arial","sans-serif"'> </span></i></b><b><span style='font-size:8.0pt;font-family:"OCR A Extended"'>\\\\||////</span></b><b><i><span style='font-size:8.0pt;font-family:"Arial","sans-serif"'><o:p></o:p></span></i></b></p><p class=MsoNormal style='margin-left:.25in;text-indent:.25in;text-autospace:none'><b><i><span style='font-size:8.0pt;font-family:"Arial","sans-serif"'> </span></i></b><b><span style='font-size:8.0pt;font-family:"OCR A Extended"'>\ ~ ~ / </span></b><b><i><span style='font-size:8.0pt;font-family:"Arial","sans-serif"'><o:p></o:p></span></i></b></p><p class=MsoNormal style='margin-left:.25in;text-indent:.25in;text-autospace:none'><b><i><span style='font-size:8.0pt;font-family:"Arial","sans-serif"'> </span></i></b><b><span style='font-size:8.0pt;font-family:"OCR A Extended"'>| @ @ |</span></b><b><span style='font-size:8.0pt;font-family:"OCR A Extended"'><o:p></o:p></span></b></p><p class=MsoNormal style='margin-left:.25in;text-indent:.25in;text-autospace:none'><b><span style='font-size:8.0pt;font-family:"OCR A Extended"'>--oOo---(_)---oOo--<o:p></o:p></span></b></p><p class=MsoNormal style='margin-left:.25in;text-indent:.25in;text-autospace:none'><b><span style='font-size:8.0pt;font-family:"OCR A Extended"'>Have A Nice Day !<o:p></o:p></span></b></p></div></body></html>