473,473 Members | 1,970 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Given IP and Administrator password, how to create a directory and change its privilege ?

Given IP and Administrator's password, how to create a directory and
change its privilege remotely ? (remote computer is windows 2003)

In fact, I just want to use web to assist creating share folders on
windows 2003.
A initial concept is to use mkdir() and chmod()
but chmod is not support remote file

Does there exists any good methods to solve this problem?
Thanks in advance.

-jiing-
Jul 17 '05 #1
3 1969
jiing wrote:
Given IP and Administrator's password, how to create a directory and
change its privilege remotely ? (remote computer is windows 2003)

In fact, I just want to use web to assist creating share folders on
windows 2003.
A initial concept is to use mkdir() and chmod()
but chmod is not support remote file

Does there exists any good methods to solve this problem?
Thanks in advance.

-jiing-

This subject is not related to PHP. However, using Linux instead of
WinBloze might be a good start. Just my Opinion BTW.

--
Ron Chaplin
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
T73 Software & Design
www.t73-softdesign.com
To provide custom and quality
software, designs and services,
to our customers, at an affordable rate,
with minimal delay.
Jul 17 '05 #2
On Mon, 10 Jan 2005 05:57:13 -0600
Ronald Chaplin <NoSPAM@MAPSoN> wrote:

:This subject is not related to PHP. However, using Linux instead of
:WinBloze might be a good start. Just my Opinion BTW.

Hmm. You know, for someone who's so concerned about "on-topic"
posting, and therefor what guys like you like to call "netiqette," I
would have thought that you'd avoid starting stupid
"my-os-is-better-than-your-os" wars. The guy has a Windows
machine. Lots of people do. Live with it. No, I don't know why he
posted here. Maybe he likes the level of competency he finds here.

FWIW, that question about &amp; has lots to do with PHP. It doesn't
come up unless you've just created a form and tried to process it with
PHP.
--
Tony Reed
<tr***@altern.org>
Jul 17 '05 #3
"jiing" <ji********@gmail.com> wrote in message
news:b7**************************@posting.google.c om...
Given IP and Administrator's password, how to create a directory and
change its privilege remotely ? (remote computer is windows 2003)

In fact, I just want to use web to assist creating share folders on
windows 2003.
A initial concept is to use mkdir() and chmod()
but chmod is not support remote file

Does there exists any good methods to solve this problem?
Thanks in advance.

-jiing-


If you have an SSH server running, you can SSH into the Windows command
shell. I don't know if code exists out there that let you do that in PHP.
You can always spawn an instance of putty
(http://www.chiark.greenend.org.uk/~sgtatham/putty/) though.

Turning on FTP server on the remote server is also an option. Doing that on
a Windows box is not something I would recommend. Turning on telnet is even
worse of an idea.
Jul 17 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: ibm_97 | last post by:
Hi, Since I work mainly on Oracle, I got the problem regarding DB2 user. I create new 'DB User' from Control Center. How do I set the password for this new user? Or, the only way to do this is...
9
by: Jonny | last post by:
Hey all, I need to verify that a provided username is a Domain Administrator. Any idea's on how to do this? Thanks, Jonny -- /Jonny
3
by: Prabu Subroto | last post by:
Dear my friends... I am using SuSE 9.1 and postgres 7.2.x . Each time if I want to connect to postgres with postgres I do like this: " patrixlinux@patrix:~> su Password:...
6
by: Philip Wagenaar | last post by:
What is the best way to create a local user on the machine with administrator rights? I have problems with my code on machines that have password policy. The problem is that when the user is...
12
by: Lile | last post by:
Hello ! I have a problem: I started a new PC, with Windows XP Pro. The first time, it asked me to define the language for region options, language, and keyboard. It offered me corespodentlly :...
3
by: W C Hull | last post by:
We have a request from Auditing to modify the password an a local workstation administrative account every 90 days. We are developing two programs - a VB6 GUI program that will allow the...
3
by: Rahul B | last post by:
Hi, I have a user UCLDEV1 which is a part of staff and a group(db2schemagrp1) to which i have not given any permissions. The authorizations of that user are shown as db2 =get authorizations...
3
by: Charlotte | last post by:
Hello, info: I'me a rookie with IIS I have on a WinXP Pro the IIS installed, so I can test some pages before uploading to the hostserver online on the hostserver is a possibility (with the...
4
by: =?Utf-8?B?WmFyYm9yZw==?= | last post by:
I'm writing a little program that will run when a user logs in, checks their password expiration and also installs a piece of monitoring software if necessary. The program has to run on Vista so I...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.