|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Charles Hutchinson (chutchinson
YIPES.COM)Date: Thu Apr 05 2001 - 10:54:47 CDT
I wrote a similar perl program to this. My version however uses
Win32::AdminMisc to retreive the PDC name then querry the pdc for a list of
all the registered computers in the domain. It parses through this list
that is stored in a hash and changes the local admin password or the
password of any user you put in the script. You can give AdminMisc some
switches to tell it the type of workstation you want it to querry for or for
certain strings in the hostname of the workstations. If you name your
workstations by region you can keep different passwords for different sites
(VERY good idea BTW). You can also have it list machines running server
rather than workstation and keep different passwords for those as well.
If you use perl to do things like this I strongly suggest you look at
adminmisc and all of Dave Roth's work.
-----Original Message-----
From: Nick Lewis [mailto:lewisnic
ACM.ORG]
Sent: Tuesday, April 03, 2001 9:36 PM
To: FOCUS-MS
SECURITYFOCUS.COM
Subject: Re: Changing local admin password
My favorite way to change passwords remotely from the command line is using
a perl script from an article I read in WinntMag.
The article is at:
http://www.win2000mag.com/Articles/Index.cfm?ArticleID=3687.
Basically, you need a listing in a text file of all machines you want to
change the password for, setup a session with like a for loop as an
administrative user to the remote machine, then run the setpw.pl script. In
the setpw.pl script you can specify the username of the account you want to
set the password for and also the password and it will connect to each
machine in your text file or machines and set the password.
Many thanks to Bob Wells for this article. I have used it many times.
HTH, Nick.
----- Original Message -----
From: "Anders M Jensen" <anders.jensen
ZURICH.COM>
To: <FOCUS-MS
SECURITYFOCUS.COM>
Sent: Monday, April 02, 2001 6:01 AM
Subject: Changing local admin password
> Can anybody point me in a direction to a tool or method i could use to
> remotely changing local administrator password on several nt4 workstations
> not belonging to any NT domain ?
> Any help would be appreciated.
>
> Venlig hilsen - Best regards
>
> Anders M. Jensen
>
> ---
>
> This e-mail is confidential and is solely for the intended recipient(s).
If
> you are not the intended recipient, you must not use, disclose, copy,
> distribute or retain this message or any part of it. If you are not the
> intended recipient please delete this correspondence from your system and
> notify the sender immediately.
>
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]