<div dir="ltr">On Mon, Feb 6, 2012 at 18:37, Mattias Gaertner <span dir="ltr"><<a href="mailto:nc-gaertnma@netcologne.de">nc-gaertnma@netcologne.de</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<u></u>
<div>
<p style="margin:0pt">
<span>
<span></span>
</span>
</p>
<p style="margin:0px">Hi,</p>
<p style="margin:0px"> </p>
<p style="margin:0px">I need to authenticate user name and password under Linux. These are normal accounts so I guess "libpam" is the weapon of choice. But I can't find any pam binding in the FPC sources.<br>
</p></div></blockquote><div></div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>
<p style="margin:0px">Is there a better way or has really no one yet used pam with fpc?</p></div></blockquote><div><br>You can use the /etc/shadows and /etc/passwd files yourself, but that require you to implement the hashing algorithm for the password inside (depends on what the user/admin choose as local login).<br>
</div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>
<p style="margin:0px"> </p>
<p style="margin:0px">thanks, </p><span class="HOEnZb"><font color="#888888">
<p style="margin:0px">Mattias</p>
<p style="margin:0px"> </p>
</font></span></div>
<br>_______________________________________________<br>
fpc-pascal maillist - <a href="mailto:fpc-pascal@lists.freepascal.org">fpc-pascal@lists.freepascal.org</a><br>
<a href="http://lists.freepascal.org/mailman/listinfo/fpc-pascal" target="_blank">http://lists.freepascal.org/mailman/listinfo/fpc-pascal</a><br></blockquote></div><br></div>