<br><br><div><span class="gmail_quote">On 09/08/07, <b class="gmail_sendername">Peter Childs</b> <<a href="mailto:peterachilds@gmail.com">peterachilds@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Sorry never meant to send that! Stupid mail program should read.<br><div><span class="gmail_quote"><br></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<span class="q">
I'm trying to get passwd to work correctly.<br><br>currently <br><br>my /etc/pam.d/common-passwd looks like<br><br>#<br># /etc/pam.d/common-password - password-related modules common to all services<br>#<br># This file is included from other service-specific PAM config files,
<br># and should contain a list of modules that define the services to be<br>#used to change user passwords. The default is pam_unix<br><br>password required pam_cracklib.so retry=3 type=<br></span>password sufficent pam_pgsql.so
<br>password sufficient pam_unix.so md5 use_authtok shadow nullok shadow<span class="q"><br>password required pam_deny.so<br><br><br>
</span></blockquote></div><br><br>What I want to do is if pam_pgsql works still update pam_unix but if the user is not in pam_unix not through an error.<br><br>how do I do that?<br><span class="sg"><br>Peter.<br>
</span></blockquote></div><br>And to answer my own question.....<br><br># password required pam_cracklib.so retry=3 type=<br>password optional pam_pgsql.so<br>password sufficient pam_unix.so md5 use_authtok shadow nullok shadow
<br>password sufficient pam_pgsql.so use_authtok<br>password required pam_deny.so<br><br>seams to solve the problem...<br><br>Peter.<br>