Hi,
How should I build the example PAM module found in http://www.freebsd.org/doc/en/articles/pam/pam-sample-module.html?
I used the following commands to build:
And when I try to use the module I get the following message in /var/log/messages though the module is at the right place:
How should I build the example PAM module found in http://www.freebsd.org/doc/en/articles/pam/pam-sample-module.html?
I used the following commands to build:
Code:
$ gcc -fPIC -c pam_module.c
$ ld -x --shared -o pam_module.so pam_module.o
And when I try to use the module I get the following message in /var/log/messages though the module is at the right place:
Code:
openpam_load_module(): no pam_module.so found