Automatic testing of pam modules

R Hannes Beinert argovela at yahoo.com
Thu Jun 19 23:55:59 UTC 2008


Hello Dan,

--- On Thu, 6/19/08, rozelak at volny.cz <rozelak at volny.cz> wrote:
>
> I would like to ask more deeply about the most painless
> pam-module testing possibilities. I suppose the use of 'pamtester'
> app (thanks for recommendation!) as the highest level front-end.
> To summarise, the following steps must be carried out:
> 
> - build PAM library with user specified paths, in order not
>   to affect PAM used by the system (it should not be a problem)
> - build pamtester linked with the PAM library created (also
>   no problem)
> - write a script(s) which will call pamtester simulating
>   different conditions of use

I was amused when I read your email, since I just finished doing
exactly what you describe.  I'm using pamtester with a modified
version of libpam, which derives relevant pathnames from environment
variables.

Hannes.



      




More information about the Pam-list mailing list