Le 30 Avril 2001 17:13, vous avez écrit : > Alexandre Sagala wrote: > > I found a minor bug in the sample application supplied in the PAM > > Developer Manual > > > > http://www.kernel.org/pub/linux/libs/pam/Linux-PAM-html/pam_appl-8.html > > > > if(argc > 2) { > > fprintf(stderr, "Usage: check_user [username]\n"); > > exit(1); > > } > > > > if suppose to be if(argc <2) and not > > > > > Is this the right place to post this?? If not sorry > > No, I believe the example is correct on this point. > > Cheers > > Andrew > > > > _______________________________________________ > > Pam-list@redhat.com > https://listman.redhat.com/mailman/listinfo/pam-list Compile it youll see it doesnt work -- Alexandre Sagala Spécialiste Linux