Expired password, openssh not invoking password change.
robbecker_at_gmail.com
Date: 11/28/05
- Previous message: Jacob Nevins: "Re: psftp problem"
- Next in thread: Darren Tucker: "Re: Expired password, openssh not invoking password change."
- Reply: Darren Tucker: "Re: Expired password, openssh not invoking password change."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: 28 Nov 2005 09:55:52 -0800
It looks like I've run into a problem. I can't be sure if this is a
software bug or a designed feature with OpenSSH. I am currently
running
OpenSSH_4.2p1, OpenSSL 0.9.7i 14 Oct 2005.
We have an OpenLDAP backend for user authentication and everything is
working.
The problem is this.. I need to require my users to change their
password
on initial login to the system.
I have attempted to use passwd with the -e flag and that fails saying:
>-root-> passwd -e testuser
Authentication failure.
LDAP information update failed: Operations error
Error while changing password expiry information.
Now, if I use the chage function with the -M flag it seems to work.
>-root-> chage -M 0 -D "cn=administrator,dc=motogroup,dc=com" testuser
Enter LDAP Password:
Aging information changed.
When I attempt to login I get this:
login as: testuser
Using keyboard-interactive authentication.
Password:
You are required to change your LDAP password immediately.
Last login: Mon Nov 28 09:03:49 2005 from rbecker.motogroup.com
>-linuxadm03:intel(/dev/pts/0):/home/testuser
>-testuser->
It never forces me to change my password. Nothing in the logs say
there
are any problems, files not found or errors. Does anyone have any idea
why
OpenSSH isn't calling the passwd application when the users password is
expired?
Thanks for your help.
Rob Becker
- Previous message: Jacob Nevins: "Re: psftp problem"
- Next in thread: Darren Tucker: "Re: Expired password, openssh not invoking password change."
- Reply: Darren Tucker: "Re: Expired password, openssh not invoking password change."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|