[Gllug] changing passwords.
Peter Childs
peterachilds at gmail.com
Thu Aug 9 07:47:35 UTC 2007
On 09/08/07, Peter Childs <peterachilds at gmail.com> wrote:
>
> Sorry never meant to send that! Stupid mail program should read.
>
> I'm trying to get passwd to work correctly.
> >
> > currently
> >
> > my /etc/pam.d/common-passwd looks like
> >
> > #
> > # /etc/pam.d/common-password - password-related modules common to all
> > services
> > #
> > # This file is included from other service-specific PAM config files,
> > # and should contain a list of modules that define the services to be
> > #used to change user passwords. The default is pam_unix
> >
> > password required pam_cracklib.so retry=3 type=
> > password sufficent pam_pgsql.so
> > password sufficient pam_unix.so md5 use_authtok shadow nullok
> > shadow
> > password required pam_deny.so
> >
> >
> >
>
> 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.
>
> how do I do that?
>
> Peter.
>
And to answer my own question.....
# password required pam_cracklib.so retry=3 type=
password optional pam_pgsql.so
password sufficient pam_unix.so md5 use_authtok shadow nullok
shadow
password sufficient pam_pgsql.so use_authtok
password required pam_deny.so
seams to solve the problem...
Peter.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.lug.org.uk/pipermail/gllug/attachments/20070809/a19af301/attachment.html>
-------------- next part --------------
--
Gllug mailing list - Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug
More information about the GLLUG
mailing list