Change the Owner of a Running Process
Net Llama!
netllama
Mon May 17 11:32:21 PDT 2004
On Fri, 31 May 2002, Jason Joines wrote:
> Is there anyway to change the owner of a running process? I have a
> kiosk machine that only runs mozilla under the ID of browser. I would
> like to change the owner of the process to root once mozilla has
> started so that users would not be able to kill the browser.
I'm not sure that what you're trying to do is possible. And even if it
was, i think it would be extremely dangerous. For starters, i don't
think having root own the process would prevent someone from killing the
browser. You can't really control who does what with an X app once its on
the screen & running. Also, if the browser was running as root, the
person could gain access to the entire filesystem, with the ability to
alter it.
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Lonni J Friedman netllama at linux-sxs.org
Linux Step-by-step & TyGeMo http://netllama.ipfox.com
More information about the Linux-users
mailing list