>>>>> "Sam" == Sam Hartman <email@example.com> writes:
>>>>> "Brian" == Brian May <firstname.lastname@example.org> writes:
Brian> How do I debug pam_group.so? -- Brian May <email@example.com>
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: 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: *** [dynamic/pam_limits.o] Error 1
make: Leaving directory `/home/bam/tmp/pam-0.72/build-tree/Linux-PAM-0.72/modules/pam_limits'make: *** [all] Error 1
make: Leaving directory `/home/bam/tmp/pam-0.72/build-tree/Linux-PAM-0.72/modules'
make: *** [all] Error 1
make: Leaving directory `/home/bam/tmp/pam-0.72/build-tree/Linux-PAM-0.72'
make: *** [stampdir/build-stamp] Error 2
Brian May <firstname.lastname@example.org>