RE: [Unattended] Problems creating user

2005-05-23 Thread Schneider, Tobias
Hi Matt and Niels,

I dont think that you need a perl script to do so.
After creating the accounts I use the command line
net accounts /maxpwage:unlimited

try net accounts /help on cmd for an explanation
The only bad thing is that this will set the PW-limits for all accounts. But 
thats OK for me.

Mit freundlichen Grüßen  /  Best regards

Tobias Schneider



-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Niels S. Richthof
Sent: Sunday, May 22, 2005 5:40 PM
To: unattended-info@lists.sourceforge.net
Subject: [Unattended] Problems creating user

Hi!

I am trying to create a user with this command:

todo.pl net user itcampus password /add /expires:never /active:yes 
/fullname:\itCampus GmbH\ /comment:\Account fuer Fernzugriff\

(on windows 2000 servers installed by Unattended)

The net user command is valid according to the documentation output 
of net help user.

The command creates the user with the password, and sets fullname and 
comment correctly. But - the password never expires flag is NOT 
set. Any ideas what is wrong?


Thanks!

cu
Niels
-- 
A: Weil es die Lesbarkeit des Textes verschlechtert.
F: Warum ist TOFU so schlimm?
A: TOFU
F: Was ist eins der groesste Aergernisse in E-Mails?



---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412alloc_id=16344op=click
___
unattended-info mailing list
unattended-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/unattended-info


---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_idt12alloc_id344op=click
___
unattended-info mailing list
unattended-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/unattended-info


Re: [Unattended] Problems creating user

2005-05-22 Thread Niels S. Richthof
Hi Matt!

 What is wrong is that you are unable to set the password expiration
 flag from the net command (even though you can set just about
 everything else...don't get me started). The expires option is for
 account expiration, not password expiration.

Ouch. Thanks for that correction.

 The good news? I wrote a perl script that will set the never expires

Great! I added it to the faq page. Thank you very much!

cu
Niels
-- 
A: Weil es die Lesbarkeit des Textes verschlechtert.
F: Warum ist TOFU so schlimm?
A: TOFU
F: Was ist eins der groesste Aergernisse in E-Mails?



---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412alloc_id=16344op=click
___
unattended-info mailing list
unattended-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/unattended-info