<br>Thanks Joe, but as per documents, deny and unlock_time are auth options, not thee account options. When I changed the config as you mentioned:<br><br><p><font size="2" face="Courier New"><span style="font-size: 10pt;">account    
required      pam_tally.so deny=2</span></font></p><br>the error "unknown option deny" stopped coming but it didn't make any difference in the time it waits after wrong passwd, even if I make it 20. The version, I can't change because of some dependency reasons.<br>
<br><font size="3" color="navy" face="Times New Roman"><span style="font-size: 12pt; color: navy;"></span></font><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>---------- Forwarded message ----------<br>From: "Joe_Wulf" <<a href="mailto:Joe_Wulf@yahoo.com">Joe_Wulf@yahoo.com</a>><br>To: "'Pluggable Authentication Modules'" <<a href="mailto:pam-list@redhat.com">pam-list@redhat.com</a>><br>
Date: Mon, 16 Jun 2008 08:37:29 -0400<br>Subject: RE: pam_tally: unknown option<br>









<div link="blue" vlink="purple" lang="EN-US">

<div>

<p><font size="2" color="navy" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;">I've played with PAM some, and am learning
more all the time.  One resource I turn to pretty frequently is the PAM
documentation found at <a href="http://kernel.org/pub/linux/libs/pam" target="_blank">kernel.org/pub/linux/libs/pam</a>.  From what I've
learned along the way, I think your "auth" line isn't the right place
for the "deny" option, and that would be why you get the errors you
do.</span></font></p>

<p><font size="2" color="navy" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>

<p><font size="2" color="navy" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;">What works for me is to have the deny
option be on the "account" line, as follows:</span></font></p>

<p><font size="2" face="Courier New"><span style="font-size: 10pt;">account    
required      /lib/security/$ISA/pam_tally.so deny=2</span></font><font size="2" color="navy" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;"></span></font></p>

<div>

<p><font size="3" color="navy" face="Times New Roman"><span style="font-size: 12pt; color: navy;">Secondly, I'd recommend upgrading to a newer version of PAM, ..77 is
quite outdated.  You'll probably have much greater success with a newer
release.</span></font></p>

<p><font size="3" color="navy" face="Times New Roman"><span style="font-size: 12pt; color: navy;">Good luck!</span></font></p>

<p><font size="3" color="navy" face="Times New Roman"><span style="font-size: 12pt; color: navy;"><br>
</span></font><font size="2" color="navy" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy;">R,<br>
-<b><span style="font-weight: bold;">Joe Wulf</span></b>, CISSP, USN(RET)<br>
 Senior IA Engineer<br>
 ProSync Technology Group, LLC<br>
 </span></font><b><u><font size="2" color="#333399" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: rgb(51, 51, 153); font-weight: bold;"><a href="http://www.prosync.com" target="_blank">www.prosync.com</a></span></font></u></b><font color="navy"><span style="color: navy;"><br>

<br>
</span></font></p>

</div>

<div>

<div style="margin-left: 0.5in; text-align: center;" align="center"><font size="3" face="Times New Roman"><span style="font-size: 12pt;">

<hr size="2" width="100%" align="center">

</span></font></div>

<p style="margin-left: 0.5in;"><b><font size="2" face="Tahoma"><span style="font-size: 10pt; font-family: Tahoma; font-weight: bold;">From:</span></font></b><font size="2" face="Tahoma"><span style="font-size: 10pt; font-family: Tahoma;"> <a href="mailto:pam-list-bounces@redhat.com" target="_blank">pam-list-bounces@redhat.com</a>
[mailto:<a href="mailto:pam-list-bounces@redhat.com" target="_blank">pam-list-bounces@redhat.com</a>] <b><span style="font-weight: bold;">On
Behalf Of </span></b>Monu Agrawal<br>
<b><span style="font-weight: bold;">Sent:</span></b> Monday, June 16, 2008 07:39<br>
<b><span style="font-weight: bold;">To:</span></b> <a href="mailto:pam-list@redhat.com" target="_blank">pam-list@redhat.com</a><br>
<b><span style="font-weight: bold;">Subject:</span></b> pam_tally: unknown option</span></font></p>

</div>

<p style="margin-left: 0.5in;"><font size="3" face="Times New Roman"><span style="font-size: 12pt;"> </span></font></p>

<p style="margin-left: 0.5in;"><font size="3" face="Times New Roman"><span style="font-size: 12pt;">Hi,<br>
I am using pam-0.77-65.1. The problem I am getting with it is, I am not able to
set deny and unlock_time options.<br>
My file looks like following:<br>
#%PAM-1.0<br>
auth       required    
pam_stack.so service=system-auth<br>
auth       required    
pam_nologin.so<br>
auth       required    
pam_tally.so deny=3 onerr=fail unlock_time=600<br>
account    required     pam_tally.so<br>
account    required     pam_stack.so
service=system-auth<br>
password   required     pam_stack.so
service=system-auth<br>
session    required     pam_stack.so
service=system-auth<br>
<br>
I am getting the following error messages on /var/log/messages<br>
<br>
Jun 16 17:05:32 ssc-216 pam_tally[26272]: pam_tally: unknown option; deny=3<br>
Jun 16 17:05:32 ssc-216 pam_tally[26272]: pam_tally: unknown option;
unlock_time=600<br>
<br>
Are these options available on the this particular version? Can anybody tell me
what is wrong with the above config?<br>
<br>
-- <br>
The things we know best are <br>
the things we haven't been taught.<br>
'Make Your Own Way'<br>
Monu Agrawal </span></font></p>

</div>

</div>


<br>_______________________________________________<br>
Pam-list mailing list<br>
<a href="mailto:Pam-list@redhat.com">Pam-list@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/pam-list" target="_blank">https://www.redhat.com/mailman/listinfo/pam-list</a><br></blockquote></div><br><br clear="all"><br>-- <br>The things we know best are <br>the things we haven't been taught.<br>
'Make Your Own Way'<br> Monu Agrawal