Ben Kevan wrote:
And just to make me feel bad..
chage -d 0 does what my script does.. but for some reason when you su username
in RHEL 4 it does not look for the expiration in /etc/shadow
It does here.
# chage -d 0 testuser2
...
$ su - testuser2
Password:
You are required to change your password immediately (root enforced)
Changing password for testuser2
(current) UNIX password:
Maybe you have modified some configuration which breaks it. Check
/etc/pam.d/su and system-auth.
--
Nigel Wade, System Administrator, Space Plasma Physics Group,
University of Leicester, Leicester, LE1 7RH, UK
E-mail : nmw@xxxxxxxxxxxx
Phone : +44 (0)116 2523548, Fax : +44 (0)116 2523555
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list