Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to invoke sub-process as another user?

Status
Not open for further replies.

cougar91

Programmer
Oct 6, 2003
4
US
Hi,

I want to, from a Korn shell script, invoke another script/process as another UNIX user. Due to security constraints the UNIX SAs have restricted the use of the command "su" so that's out. I tried using rsh -l name but gotten no where w/ it.

What other options do I have? If other options how to code it in a script?

Thx
 
sudo is the way to go, but your SAs would have to agree to that (and set it up) too.

Annihilannic.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top