We use this perl function. All we need to do is create an array "UserInfo"
with three parts:
1) username
2) group
3) comment
4) Full Name/Real Name
Hope this was what you were looking for.
Paul
>sub
>AddUser
>
>{
>
> if (`net user $UserInfo[1] $UserInfo[4] /domain /add
> /comment:\"$UserInfo[3]\" /expires:never /passwordchg:no /passwordreq:yes
> /fullname:\
>"$UserInfo[2]\"`)
>
> {
>
> return
> 1;
> }
>
> else
>
> {
>
> return
> 0;
> }
>
>}
>
>
>It's potentially a lot of work. Anybody know of a way to script user
>creation in Windoze?
>
>Tim Conway
--
To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html