i'm trying to write a PAM module to count login failures.
i think all i need to proceed at this point is to get the
results of the PREVIOUS stuff in the PAM stack.
that is, by the time my module rolls in, all the authentication
routines will have been called, and a decision will have been
i know from writing other modules that the authentication
routines can return a value that my module didn't send, so that
means there must be some overall authentication result.
i only want to READ it. but i do need to know what's been
or is there another way to do this? i yanked down a bunch of
sample code, but i haven't had a chance to go through it yet.
it doesn't look exactly relevant, though.
i'm hardly an expert, so if i'm missing something obvious,
point it out. i can easily have missed it.
Head of Sun Support, Sr. Operating Systems Specialist
Applied Research Labs, Computer Science Div. S224
University of Texas at Austin