[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: pam_group.so



>>>>> "Brian" == Brian May <bam@debian.org> writes:

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

    Brian> How do I disable login's alarm clock (not that I have had
    Brian> problems, but just in case...)?

p alarm(0) from withing gdb

    Brian> pam won't compile - perhaps there is a missing
    Brian> build-depends?

Hmm, PAM sure seems to depend on libcap-dev for me.



Reply to: