[EMAIL PROTECTED] wrote on 01/25/2007 11:26:28 AM:

> You can try the net user command (windows command use !net ... To run).
> Note I have only used it for users to update their own password so not
> sure how well it will work to create new users (access permissions to do
> it).

I used NET USER to set up all users for a new system.  I had a customer who
was migrating from UNIX to Windows [much as it pained me to take part in
such a thing ;-) ].  I moved the /etc/passwd file from UNIX and wrote a
BASIC program to read it in and generate new users on Windows.  Naturally,
I couldn't interpret the passwords from UNIX.  We just plugged the new
passwords and forced the users to change them upon first login.

The command was:
      net user user_id new_password /add /fullname "user_name"
where userid and user_name came from the passwd file.  You will need to
have administrator access to perform this, for the obvious security
reasons.  You can type net user /help at the DOS prompt for more
information.


Tim Snyder
Consulting I/T Specialist
U2 Consulting
North American Lab Services
IBM Software Group
-------
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to