Hello, On Thu, Jun 19, rozelak@xxxxxxxx wrote: > Hallo, > > 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 > > > Now my problem is, how to AUTOMATICALLY simulate authentication fails/successes > for different users, e.g. to simulate the n-times successful login of > user XY, than some its fails, then attempt of unprivileged users AB, > CD, EF, than successes for XY again, .... (all with different delays > between individual attempts, etc.). Maybe you should take a look at the Linux-PAM test suite? Thorsten -- Thorsten Kukuk, Project Manager/Release Manager SLES SUSE LINUX Products GmbH, Maxfeldstr. 5, D-90409 Nuernberg GF: Markus Rex, HRB 16746 (AG Nuernberg) _______________________________________________ Pam-list mailing list Pam-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/pam-list