Re: running as diff. account

2003-07-24 Thread John Turner
You didn't confuse me, but I don't see the point of the restrictions. accountA cannot run rsh? Put your rsh command into a shell script. Then in your JSP or servlet or whatever, call "su - accountB -c rsh_script.sh" sudo would probably be better, you will have to give accountA the right to be

Re: running as diff. account

2003-07-24 Thread Astrid Wagner
t 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] Subje

Re: running as diff. account

2003-07-24 Thread John Turner
L 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". -

Re: running as diff. account

2003-07-24 Thread Astrid Wagner
s 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 &qu

Re: running as diff. account

2003-07-24 Thread Juan Nin
From: "Ralph Einfeldt" <[EMAIL PROTECTED]> > - script that calls rsh by super or sudo or something like that my typo! today I meant sudo not *su* :oP regards, Juan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

RE: running as diff. account

2003-07-24 Thread Ralph Einfeldt
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

Re: running as diff. account

2003-07-24 Thread Juan Nin
another would be to run the app with a different user, but it may lead to security issues.. Juan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: running as diff. account

2003-07-24 Thread Juan Nin
From: "Astrid Wagner" <[EMAIL PROTECTED]> > This may be off topic but maybe someone else had this requirement: > I need to call a system call running in a different account than the > account the web application runs: > E.g All web applications etc. run as "accountA" but my web application needs >

Re: running as diff. account

2003-07-24 Thread John Turner
Use the "-l" command option for rsh to designate the remote username that should be used. John Astrid Wagner wrote: Hi, This may be off topic but maybe someone else had this requirement: I need to call a system call running in a different account than the account the web application runs: E.g A

running as diff. account

2003-07-24 Thread Astrid Wagner
Hi, This may be off topic but maybe someone else had this requirement: I need to call a system call running in a different account than the account the web application runs: E.g All web applications etc. run as "accountA" but my web application needs to call a "rsh" command (via native interface) r