tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Astrid Wagner <Astrid.Wag...@motorola.com>
Subject Re: running as diff. account
Date Thu, 24 Jul 2003 16:08:23 GMT
Hi,
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:Astrid.Wagner@motorola.com]
>>Sent: Thursday, July 24, 2003 3:44 PM
>>To: tomcat-user@jakarta.apache.org
>>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: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>  
>


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