Hi All,
I created an Adduser command for Windows NT that forced user to change
their password on their first login. Having recently updated my PERL
binaries, I have noticed that this module is no longer available for
download via ppm. Furthermore, I don't know of any other way to force
users to change their password on their first login.
This is what I used to have:
use Win32::AdminMisc;
$pdc=$ARGV[0];
$user=$ARGV[1]
Win32::AdminMisc::UserSetMiscAttributes($pdc, $user,
USER_PASSWORD_EXPIRED=>$Account{pwdexpired});
Is there another win32 module that will allow me to do that? Or, is
there another way, in general, that I can make this change without
having to go to the usermanager and manually check the "user must change
password" check box?
Thanks,
Bryant C. Vernon
M.I.T. DCS