Swieszczak Sergiusz wrote: > > Hello! > > I have Redhat 7.0 and PAM version 0.72. I try to run sample application and > I always get > "User account has expired" message, but Pam_authenticate function return > "Success". > > My config file is: > auth required /lib/security/pam_stack.so service=system-auth > acount required /lib/security/pam_stack.so service=system-auth If this is literally what's in that file, then you need to replace 'acount' with 'account'. Otherwise, you might want to look in /var/log/messages for a clue. Cheers Andrew