Re: Fwd: [PECL-DEV] PAM Module to lock id

From: Date: Thu, 14 Oct 2010 08:02:21 +0000
Subject: Re: Fwd: [PECL-DEV] PAM Module to lock id
References: 1 2 3 4 5 6 7 8 9  Groups: php.pecl.dev php.pecl.dev 
Request: Send a blank email to pecl-dev+get-7756@lists.php.net to get a copy of this message
Hello, Im getting following error in /var/log/secure Oct 14 13:30:36 <authpriv.err> localhost httpd[4193]: pam_tally2(php:auth): pam_get_uid; no such user What I can do ??How can I manage session using PAM & HTTPD ?? 2010/10/14 Ángel González <keisial@gmail.com> > Vishnu Gopal Singhal wrote: > > How it will lock ??My credentials are stored in a database. Im using > > pam_mysql to authenticate. > > > > *auth required pam_mysql.so user=abc passwd=vishnu host=localhost > db=testdb > > table=Users usercolumn=UserName passwdcolumn=Password crypt=3* > > > > If i add below line it doesnt authenticate > > > > *password required pam_tally2.so deny=3 unlock_time=60* > > * > > * > > I'm not understanding how pam_tally2 locks as my credentials are in a > db.?? > > Can anyone explain me what happens when incorrect password is entered > > * > > * > > *Thanks!!* > > * > > * > > pam_tally won't use /etc/passwd or the mysql db to store lockouts. > It stores the fails inside a file, by default /var/log/faillog in > pam_tally and > /var/log/tallylog in pam_tally2 (you can change it with file option). > > -- *Regards,* *Vishnu G Singhal* *If You want to walk fast ..walk alone ,but if you want to walk far walk together - Ratan Tata *

« previous php.pecl.dev (#7756) next »