RayRay459 has asked for the wisdom of the Perl Monks concerning the following question:
I get this error when i try to run this:# Ray Espinoza # ChPass.pl # TO change local admin pass on remote machine #################################################### #!D:\perl\bin -w use strict; use Win32::NetAdmin qw(SetUserAttributes); chomp(my $server = <STDIN>); my $userAcct = "Administrator"; my $Pass = "387SetHike"; UserSetAttributes($server, $userAcct, $Pass) || die "UserSetAttributes() failed: $^E";
"SetUserAttributes" is not exported by the Win32::NetAdmin module at C +:\ perl\ChPass.pl line 9 Can't continue after import errors at C:\scripts\perl\ChPass.pl line 9 BEGIN failed--compilation aborted at C:\scripts\perl\ChPass.pl line 9.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Using Win32::NetAdmin to change passwords (boo)
by boo_radley (Parson) on Aug 15, 2001 at 06:46 UTC | |
|
Re: Using Win32::NetAdmin to change passwords
by joefission (Monk) on Aug 15, 2001 at 17:00 UTC | |
|
Re: Using Win32::NetAdmin to change passwords
by OzzyOsbourne (Chaplain) on Aug 15, 2001 at 15:44 UTC |