tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Astrid Wagner <>
Subject Re: running as diff. account
Date Thu, 24 Jul 2003 16:08:23 GMT
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.

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 []
>>Sent: Thursday, July 24, 2003 3:44 PM
>>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:
>For additional commands, e-mail:

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message