Chris, The auth modules are run first. Take for example pam_issue. This module has to be run first, before other auth modules, in order to display the issue file to the user. Maybe looking at the pam_issue source, may help solve your problem. Enjoy, Tim -----Original Message----- From: pam-list-admin@xxxxxxxxxx [mailto:pam-list-admin@xxxxxxxxxx] On Behalf Of Chris Campbell Sent: Wednesday, December 03, 2003 5:19 PM To: pam-list@xxxxxxxxxx Subject: run this first It's been a while since I've done any work with PAM and I'm hoping someone can help me out. I have some code that I need to run *before* *all* other PAM modules. Is there any way I can make that happen? I thought auth was done first so I hacked some code together in an auth module but it didn't seem like it was being executed first. Thanks, Chris _______________________________________________ Pam-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/pam-list --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.545 / Virus Database: 339 - Release Date: 11/27/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.545 / Virus Database: 339 - Release Date: 11/27/2003 _______________________________________________ Pam-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/pam-list