Jason King wrote:
> In a related vein, a while ago, I wrote a simple application that'd
> allow one to exercise the pam stack of an arbitrary service (it did
> authentication, authentication, open session, close session, as well
> as the data prompting iirc).  It'd be fairly trivial to write again (I
> have long since lost the original source).  I found it useful for
> testing -- i could create a 'dummy' service w/ the config i wanted,
> test it using the program to make sure things worked right, before
> implementing the changes to a specific service (or other) with minimal
> risk of bricking the box.  If people feel it might be useful to have,
> I'm open to writing it again.

Something like the attached ?

-- 
Darren J Moffat
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: pam_app_auth.c
URL: 
<http://mail.opensolaris.org/pipermail/security-discuss/attachments/20081009/895badcf/attachment.c>

Reply via email to