[fpc-pascal] How to use pam?

ik idokan at gmail.com
Mon Feb 6 17:45:48 CET 2012


On Mon, Feb 6, 2012 at 18:37, Mattias Gaertner <nc-gaertnma at netcologne.de>wrote:

> **
>
>   Hi,
>
>
>
> 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.
>
Is there a better way or has really no one yet used pam with fpc?
>

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).


>
>
> thanks,
>
> Mattias
>
>
>
> _______________________________________________
> fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20120206/702a5ab8/attachment.html>


More information about the fpc-pascal mailing list