Execute a script from different user

  • Thread starter Thread starter Faisal
  • Start date Start date
F

Faisal

Dear all,

We wish to create a script to copy programs from test area to
production area. But we wish to give the write permission of
production directory to a single user only. So when script is
executed, it should ask for the password of the authorized user.

Is there a way to achieve this?

I will be grateful for your help.

Regards
 
Dear all,

We wish to create a script to copy programs from test area to
production area. But we wish to give the write permission of
production directory to a single user only. So when script is
executed, it should ask for the password of the authorized user.

Is there a way to achieve this?

I will be grateful for your help.

Regards


RunAs.
See tip 4410 and link in the 'Tips & Tricks' at http://www.jsiinc.com

Jerold Schulman
Windows: General MVP
JSI, Inc.
http://www.jsiinc.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top