Archived from groups: microsoft.public.win2000.security (More info?)
I have users on two Win2k servers on active directory.
On each system, I need to create NTFS folder shares and add
the users to the share *and* to the directory folder as either
read+execute or read+write+execute.
I need a script which will permit me to add users to
shares with specified permissions. My only requirement
with scripting is that it be command-line only. No pop-ups.
This is because I need to do this over telnet or ssh in a
22x80 command prompt window.
Archived from groups: microsoft.public.win2000.security (More info?)
I have not tried it myself but the rmtshare RK tool is supposed to be able
to do that for shares and supposedly works on Windows 2000 also. For folder
permissions you can use cacls, xacls, or fileacl. Cacls is already installed
on all Windows 2000 operating systems. --- Steve
"William Hymen" <t18_pilot@hotmail.spam.com> wrote in message
newsjmZ2PktEHA.2664@TK2MSFTNGP12.phx.gbl...
>I have users on two Win2k servers on active directory.
> On each system, I need to create NTFS folder shares and add
> the users to the share *and* to the directory folder as either
> read+execute or read+write+execute.
>
> I need a script which will permit me to add users to
> shares with specified permissions. My only requirement
> with scripting is that it be command-line only. No pop-ups.
> This is because I need to do this over telnet or ssh in a
> 22x80 command prompt window.
>
> Thanks in advance-
>
> Bill
>
>
You are about to answer a thread that has been inactive for more than 6 months. If you still wish to proceed, please ensure that your posting is original and does not duplicate or overlap any prior responses to this thread.