[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Cannot login after password change

Hi ,
        Can you please check what is passwd command configured in PAM  because
there can be some synchronization problem with the passwd change and the login
(authentication) ,  If passwd command is configured in  pam config file to
change the password in ldap then your passwd command will change your password
in ldap and not in NIS where you are expecting the change to take place , So
please check whether you are changing the passwd in NIS or not.


Meinl Thorsten NBTE wrote:

> Hallo,
> We have a NIS-Master running under HP-UX and a linux-client with RedHat 7.0
> running PAM without shadow. After I was asked to change my password last
> week by a HP-machine I later on could not log on to the linux-machine any
> longer. Not with the new neither with the old password. After I changed it
> back to the old one everything worked fine again. All our users have the
> same problem. You can log in sucessfully until your asked to change your
> password.
> Even the output of "ypcat -k passwd" is the same on the NIS-master as on the
> linux-client.
> Some config-info:
> ------------------------------------------
> # /etc/nsswitch.conf
> passwd:     files nis
> shadow:     files nis # but is not used here...
> group:      files nis
> -----------------------------------------
> #/etc/pam.d/login
> #%PAM-1.0
> auth       required     /lib/security/pam_securetty.so
> auth       required     /lib/security/pam_unix.so
> auth       required     /lib/security/pam_nologin.so
> account    required     /lib/security/pam_unix.so
> password   required     /lib/security/pam_unix.so
> session    required     /lib/security/pam_unix.so
> session    optional     /lib/security/pam_console.so
> ------------------------------------------
> /etc/passwd has
> +:::::::
> at the end
> Has anybody an idea?
> Thanks in advance
> Thorsten
> _______________________________________________
> Pam-list mailing list
> Pam-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/pam-list

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] []