<div class="gmail_quote">On Sun, Feb 6, 2011 at 5:10 PM, vijay s sheelavantar <span dir="ltr"><<a href="mailto:s_vijay65@rediffmail.com">s_vijay65@rediffmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hello Friends,<span></span><div>I want to authenticate telnet users using Free Radius server. </div><div>I have pam_radius_auth.so and configured it for ssh which is working fine. </div><div>For telnet also I have created a file "/etc/pam.d/telnet"  and trying to authenticate using freeRadius server. But it is not happening.</div>
<div><br></div><div>Kindly let me know how can i authenticate telnet users using freeRadius?</div><div><br></div></blockquote><div><br></div><div>I didn't test telnet, but most daemons that use pam (like sshd) has a line</div>
<div><br></div><div><div>@include common-auth</div></div><div><br></div><div>so I simply add</div><div><br></div><div><div>auth<span class="Apple-tab-span" style="white-space:pre">    </span>sufficient<span class="Apple-tab-span" style="white-space:pre">                  </span>pam_radius_auth.so</div>
</div><div><br></div><div>on top of /etc/pam.d/common-auth to enable radius auth for everything (including ssh). Note that:</div><div>- you need to edit pam_radius_auth config file first (when using Ubuntu's package, it's on /etc/pam_radius_auth.conf)</div>
<div>- the user needs to exist already on the server (e.g on /etc/passwd, ldap, or whatever method you use to store user accounts on the server)</div><div><br></div><div>If it still doesn't work, make sure to look at freeradius's debug log (<a href="http://wiki.freeradius.org/index.php/FAQ#It_still_doesn.27t_work.21">http://wiki.freeradius.org/index.php/FAQ#It_still_doesn.27t_work.21</a>)</div>
<div><br></div><div>-- </div><div>Fajar</div><meta http-equiv="content-type" content="text/html; charset=utf-8"></div>