Automatic testing of pam modules

rozelak at volny.cz rozelak at volny.cz
Mon Jun 23 14:21:41 UTC 2008


Hello,

did you just compiled your own pam library to use paths from env variables,
or did you also do some hacks which sould be useful? How do you build
test(s)?

Best rgards,
Dan


----- PŮVODNÍ ZPRÁVA -----
Od: "R Hannes Beinert" <argovela at yahoo.com>
Komu: "Pluggable Authentication Modules" <pam-list at redhat.com>
Předmět: Re: Automatic testing of pam modules
Datum: 20.6.2008 - 1:55:59

> 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.
> 
> 
> 
> 
> 
> _______________________________________________
> Pam-list mailing list
> Pam-list at redhat.com
> https://www.redhat.com/mailman/listinfo/pam-list






More information about the Pam-list mailing list