Creating Multiple FTP Users and Containers (2000 Server + IIS)
From: Matt T (T_at_discussions.microsoft.com)
Date: 11/16/04
- Next message: Richard C.: "Re: Creating Multiple FTP Users and Containers (2000 Server + IIS)"
- Previous message: Steve Thompson: "Re: Enumerating reg keys with alternate credentials via WMI?"
- Next in thread: Richard C.: "Re: Creating Multiple FTP Users and Containers (2000 Server + IIS)"
- Reply: Richard C.: "Re: Creating Multiple FTP Users and Containers (2000 Server + IIS)"
- Reply: Jeff Cochran: "Re: Creating Multiple FTP Users and Containers (2000 Server + IIS)"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 16 Nov 2004 13:43:06 -0800
Hi. I’m hoping someone here can help me with some if not all of this question.
I’ve been assigned the task of creating 200+ local user accounts on a
Windows 2000 Server and create corresponding Containers/Virtual Folders in
IIS Administrator for an FTP site.
I’m hoping I can script some, if not all of this procedure, but I am a
complete Windows Scripting novice so I’m hoping that I can get some help on
how to proceed.
For the local users I need to be able to do the following:
Enter the username and full name, both of which will be the same. They will
be in the following incremental format: user1, user2, user3 … user200
I will need to enter a description and a custom password. I will also need
to configure the password so the user cannot change it and it never expires.
Once the user is created it will have to be removed from the users group and
added to the ftp-users group.
A ‘Local Path’ will also need to be set on the Profile tab. This path will
point to incrementing folder names: i.e. user1 will have a local path of
D:\folders\site1; user2 will have a local path of D:\folders\site2
I believe this is all possible through scripting; however I am very
unfamiliar with it, as it is somewhat out of my normal area of work.
What I am even more unsure of is scripting the creation of Virtual Folders
in IIS Administrator.
I need to create virtual directories with incremental aliases: i.e. site1,
site2, site3 … site200
The FTP Site Content path will then need to point to the corresponding
user’s local path folder: i.e. site1 will need to point to the local path of
user1
The access permissions of the virtual folders will need to be set to
read/write.
Once this is done, Web Sharing will need to be enabled for each of the
‘real’ FTP folders in D:\folders. The permissions will need to be set to
read/write and no executables.
Inheritable permissions will need to be deactivated for each folder in
D:\folders\ and the permissions list will need to be modified. The ‘users’
account will need to be removed from the list and the corresponding user
account will need to be given ‘modify’ permissions (everything except ‘full
control’): i.e. for folder D:\folders\site1, user1 will need to be added with
modify permissions.
Finally ‘High Isolation’ will need to be set for the FTP site within the WWW
Container in IIS Administrator.
I hope I explained this properly…
As you can see, doing all this for 200 users would take a long time and
scripting, even if it was only partial would be a life-saver. Any help
offered will be greatly appreciated!
Matt
- Next message: Richard C.: "Re: Creating Multiple FTP Users and Containers (2000 Server + IIS)"
- Previous message: Steve Thompson: "Re: Enumerating reg keys with alternate credentials via WMI?"
- Next in thread: Richard C.: "Re: Creating Multiple FTP Users and Containers (2000 Server + IIS)"
- Reply: Richard C.: "Re: Creating Multiple FTP Users and Containers (2000 Server + IIS)"
- Reply: Jeff Cochran: "Re: Creating Multiple FTP Users and Containers (2000 Server + IIS)"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|