How comile pam modules
Jason Gerfen
jason.gerfen at scl.utah.edu
Thu Dec 8 19:39:43 UTC 2005
PPKcS2? Is that some library you are trying to utilize? If so you will
need to link against it:
g++ shared pam_permit.c -o pam_permit.so -libppk (or equivelant)
Matt Sellers wrote:
> Im trying to compile a single pam module via this.
>
> g++ -shared pam_permit.c -o pam_permit.so
>
> The problem i keep seing in syslog everytime I run the module.
>
> syslog:
>
> Dec 5 16:32:53 linuxlab2 su: PAM unable to
> dlopen(/lib/security/$ISA/pam_permit.so)
> Dec 5 16:32:53 linuxlab2 su: PAM [dlerror:
> /lib/security/../../lib/security/pam_permit.so: undefined symbol:
> _Z12pam_get_userP10pam_handlePPKcS2_]
> Dec 5 16:32:53 linuxlab2 su: PAM adding faulty module:
> /lib/security/$ISA/pam_permit.so
>
> Anybody got any ideas, im trying to write my own pam module to do nice
> things, and this is my practice.
>
> :-)
> -matt
>
> _______________________________________________
> Pam-list mailing list
> Pam-list at redhat.com
> https://www.redhat.com/mailman/listinfo/pam-list
--
Jason Gerfen
"Oh I have seen alot of what
the world can do, and its
breaking my heart in two..."
~ Wild World, Cat Stevens
More information about the Pam-list
mailing list