Page 1 of 1 1
Topic Options
#1849 - 2000-02-28 07:40 AM Script to change passwords
Anonymous
Unregistered


Im after a script to allow a helpdesk to change users passwords in an NT domain. Can anyone help?

Thanks in advance.


Top
#1850 - 2000-02-28 05:37 PM Re: Script to change passwords
PaulMoxey Offline
Getting the hang of it

Registered: 1999-07-22
Posts: 90
Loc: Villawood, NSW, Australia
I can't really think of anything off the top of my head that you could do without assigning permissions to do this.
I've got One quick thought, but not really sure how it could be implimented.
It's not scripting as such... but....
Do you run IIS on any of your machines?
Have one machine with an .ASP that uses form values. Need "username" "password" "confirmpassword". Use a little javascript to compare "password" and "comparepassword". If the two are the same, the Server itself does a shell "net username password" as the action of the form.
ie:
C:\>net user /?
The syntax of this command is:

NET USER [username [password | *] [options]] [/DOMAIN]
username {password | *} /ADD [options] [/DOMAIN]
username [/DELETE] [/DOMAIN]

As I said, not traditional scripting... but maybe a solution....

------------------
Paul Moxey
POS & Senior Network Administrator
Taubmans Pty Ltd
Paul_Moxey@taubmans.com.au

_________________________
Paul Moxey POS & Senior Network Administrator BarloworldCoatings (AUST) Pty Ltd

Top
Page 1 of 1 1


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
1 registered (Allen) and 957 anonymous users online.
Newest Members
ManuvdWielNL, Sir_Barrington, batdk82, StuTheCoder, M_Moore
17887 Registered Users

Generated in 0.05 seconds in which 0.026 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org