[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freeradius-users
Subject:    RE: v1.1.3 - Logging Levels / Syslog / logging passwords
From:       "Garber, Neal" <Neal.Garber () energyeast ! com>
Date:       2006-09-29 0:01:31
Message-ID: 9ADFF45C77B84B4A8E1D1F671349CD8B01F03DBF () ROCMSGCL01 ! Energyeast ! net
[Download RAW message or body]

--===============0244075110==
Content-class: urn:content-classes:message
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C6E35A.6B9045C8"

This is a multi-part message in MIME format.


> Is there any way to squish the user password in the -xx output?  Are
there any hidden/undocumented setting for radiusd.conf that do that?



radiusd -Xx | sed -e "s/\([pP]\)assword.*/\1assword <masked>/"

This is a tweak from something Alan suggested to me...  It gets rid of
most of the passwords (it leaves the password rlm_ldap uses to bind and
it removed some other info. - but I think it's pretty close to what you
want)..

=20


[Attachment #3 (text/html)]

<html xmlns:o="urn:schemas-microsoft-com:office:office" \
xmlns:w="urn:schemas-microsoft-com:office:word" \
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 11 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
	{font-family:Wingdings;
	panose-1:5 0 0 0 0 0 0 0 0 0;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman";}
a:link, span.MsoHyperlink
	{color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{color:purple;
	text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:10.0pt;
	font-family:"Courier New";}
p.MsoAutoSig, li.MsoAutoSig, div.MsoAutoSig
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman";}
span.EmailStyle17
	{mso-style-type:personal-reply;
	font-family:Arial;
	color:navy;}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
	{page:Section1;}
 /* List Definitions */
 @list l0
	{mso-list-id:1259754292;
	mso-list-type:hybrid;
	mso-list-template-ids:-91064810 67698699 67698691 67698693 67698689 67698691 \
67698693 67698689 67698691 67698693;} @list l0:level1
	{mso-level-start-at:146;
	mso-level-number-format:bullet;
	mso-level-text:\F0D8;
	mso-level-tab-stop:.5in;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Wingdings;
	mso-fareast-font-family:"Times New Roman";
	mso-bidi-font-family:"Times New Roman";}
@list l1
	{mso-list-id:1470594046;
	mso-list-type:hybrid;
	mso-list-template-ids:893171536 67698699 67698691 67698693 67698689 67698691 \
67698693 67698689 67698691 67698693;} @list l1:level1
	{mso-level-start-at:146;
	mso-level-number-format:bullet;
	mso-level-text:\F0D8;
	mso-level-tab-stop:.5in;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Wingdings;
	mso-fareast-font-family:"Times New Roman";
	mso-bidi-font-family:"Times New Roman";}
ol
	{margin-bottom:0in;}
ul
	{margin-bottom:0in;}
-->
</style>

</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal style='mso-margin-top-alt:0in;margin-right:0in;margin-bottom:
12.0pt;margin-left:.25in'><font size=3 color=navy face="Times New Roman"><span
style='font-size:12.0pt;color:navy'>&gt; </span></font>Is there any way to
squish the user password in the -xx output?&nbsp; Are there any
hidden/undocumented setting for radiusd.conf that do that?<br>
<br>
<font color=navy><span style='color:navy'><o:p></o:p></span></font></p>

<p class=MsoNormal style='margin-bottom:12.0pt'><font size=3 color=navy
face="Times New Roman"><span style='font-size:12.0pt;color:navy'>radiusd -Xx |
sed -e &quot;s/\([pP]\)assword.*/\1assword \
&lt;masked&gt;/&quot;<o:p></o:p></span></font></p>

<p class=MsoNormal style='margin-bottom:12.0pt'><font size=3 color=navy
face="Times New Roman"><span style='font-size:12.0pt;color:navy'>This is a
tweak from something Alan suggested to me&#8230;&nbsp; It gets rid of most of the
passwords (it leaves the password rlm_ldap uses to bind and it removed some
other info. &#8211; but I think it&#8217;s pretty close to what you \
want)..<o:p></o:p></span></font></p>

<p class=MsoNormal style='margin-bottom:12.0pt'><font size=3 color=navy
face="Times New Roman"><span \
style='font-size:12.0pt;color:navy'><o:p>&nbsp;</o:p></span></font></p>

</div>

</body>

</html>



- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
--===============0244075110==--

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic