Can you detail the second solution a little bit:
I can create a shell sript with my rsh system command in it and owned by
accountB but it will still run as accountA when called by a servlet, won't it.
I am no unix expert, maybe you have an example.
Thanks
Astrid
Ralph Einfeldt wrote:
There are a couple of solutions that allow you to achive that.
Which solution is best, depends on your requirements.
Some solutions that require a wrapper script: - script that calls rsh by super or sudo or something like that - script that is owned by accountB and has the setuid bit set and calls the rsh command directly
-----Original Message----- From: Astrid Wagner [mailto:[EMAIL PROTECTED] Sent: Thursday, July 24, 2003 3:44 PM To: [EMAIL PROTECTED] Subject: running as diff. account
E.g All web applications etc. run as "accountA" but my web application needs to call a "rsh" command (via native interface) run as "accountB".
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
