[3856] in testers
libal and encrypted passwds for existing accounts
daemon@ATHENA.MIT.EDU (Greg Hudson)
Wed Jul 29 15:19:32 1998
Date: Wed, 29 Jul 1998 15:19:24 -0400
From: Greg Hudson <ghudson@MIT.EDU>
To: testers@MIT.EDU
An unexpected behavior change in the 8.2 release is that libal will
not update the encrypted password entry for a user who already has an
entry in /etc/passwd. So xscreensaver will not work for such users,
for instance.
There are a couple of issues involved in fixing this problem:
* al__update_cryptpw() does not handle the case where a user
has no line in /etc/shadow. So it's not a trivial code
change.
* The session record does not hold the state necessary to
revert such a change to the passwd file. The necessary
state varies between shadow-passwd systems and other
systems. One option is just not to do any reversion of this
change.