Bryant C. Vernon writes ..

>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?

use the AdminMisc module .. it hasn't gone anywhere

  http://roth.net/perl/

or

  http://search.cpan.org/

also .. check your HTML ActivePerl documentation up the top .. about ppm ..
Dave Roth's PPM repository is one of the ones given as an example

-- 
  jason king

  A Canadian law states that citizens may not publicly remove bandages.
  - http://dumblaws.com/

Reply via email to