PAM Testing

Andreas Schneider mail at cynapses.org
Wed Apr 29 12:49:05 UTC 2009


On Wednesday 29 April 2009 12:31:23 Andreas Schneider wrote:
> After this, I've created a patch for http://pamtester.soruceforge.net/ to
> use pam_start_test() and added the possibility to specify the config
> directory via a commandline option.
>

Here is a patch to define the password to use for authentication via the 
commandline.

src/pamtester -v -C/tmp/pam.d -Psecret login csync authenticate
pamtester: invoking pam_start(login, csync, ...)
pamtester: performing operation - authenticate
pamtester: successfully authenticated


	-- andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pamtester_add_commandline_password.patch
Type: text/x-patch
Size: 9064 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/pam-list/attachments/20090429/448ba5f0/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://listman.redhat.com/archives/pam-list/attachments/20090429/448ba5f0/attachment.sig>


More information about the Pam-list mailing list