Re: pam_group.so
>>>>> "Sam" == Sam Hartman <hartmans@debian.org> writes:
>>>>> "Brian" == Brian May <bam@debian.org> writes:
Brian> How do I debug pam_group.so? -- Brian May <bam@debian.org>
Sam> build pam with debugging symbols. gdb login. Break on the
Sam> call to pam_authenticate. At that point you should have
Sam> pam_group loaded and should be able to break within that
Sam> module. Be sure to disable login's alarm clock to avoid
Sam> getting blown away by sigalrm.
How do I disable login's alarm clock (not that I have had problems,
but just in case...)?
pam won't compile - perhaps there is a missing build-depends?
make[3]: Entering directory `/home/bam/tmp/pam-0.72/build-tree/Linux-PAM-0.72/modules/pam_limits'
mkdir -p ./dynamic
mkdir -p ./static
gcc -O2 -D_GNU_SOURCE -D_REENTRANT -DLINUX_PAM -Wall -I/home/bam/tmp/pam-0.72/build-tree/Linux-PAM-0.72/include -fPIC -Dlinux -Di386 -DLIMITS_FILE=\"/etc/security/limits.conf\" -DUSE_CAPABILITIES -DPAM_DYNAMIC -c pam_limits.c -o dynamic/pam_limits.o
pam_limits.c:17: sys/capability.h: No such file or directory
make[3]: *** [dynamic/pam_limits.o] Error 1
make[3]: Leaving directory `/home/bam/tmp/pam-0.72/build-tree/Linux-PAM-0.72/modules/pam_limits'make[2]: *** [all] Error 1
make[2]: Leaving directory `/home/bam/tmp/pam-0.72/build-tree/Linux-PAM-0.72/modules'
make[1]: *** [all] Error 1
make[1]: Leaving directory `/home/bam/tmp/pam-0.72/build-tree/Linux-PAM-0.72'
make: *** [stampdir/build-stamp] Error 2
--
Brian May <bam@debian.org>
Reply to: