How to specify a process's owner at boot time
This is probably a dumb question.
I use webwasher and like it a lot. It's stable and it does what it is
supposed to. However, I have one problem with it. Although it creates
an unprivileged user at installation time, whenever it is started at
boot time, it runs as a root-owned process. I have chown-ed all
wwasher files to wwasher.wwasher, and if I restart it as user wwasher,
it is a wwasher-owned process which runs with no privileges, and it
works fine. Except this is a PITA. How does one specify which user
owns a process if it is started at boot time? How about if it is started at the
command line?
TIA
Corvin
--
Corvin Russell
On Sun, 8 Apr 2001, Corvin Russell wrote:
How does one specify which user owns a process if it is started at boot time? How about if it is started at the command line?
If root is starting it, try su -c "command with parameters" username Regards Ole
Thanks Ole, this worked great. I modified the init scripts, now
webwasher automatically starts as its own user-owned process, which I
think is rather more secure. Also I can delete /home/wwasher now.
With this one change, I highly recommend webwasher. It makes web
browsing a considerably more pleasant experience.
Corvin
--
Corvin Russell
participants (2)
-
Corvin Russell
-
Ole Kofoed Hansen