[ubuntu-uk] Running daemon at startup as another user
Neil Greenwood
neil.greenwood.lug at gmail.com
Wed Jun 23 22:00:49 BST 2010
On 23 June 2010 21:45, Rob Beard <rob at esdelle.co.uk> wrote:
> I'm trying to setup Shoutcast on a VPS server for a mate of mine as a
> favour. The VPS server is running Ubuntu 8.04 AMD64.
>[snip]
> The thing is, I can't figure out how to do it. At first I thought of
> creating an init script, but presumably it'll run as root?
>
Write an init script that uses sudo or su to run the shoutcast daemon
as another user?
You shouldn't need to enter a password if you run su as root, IIRC.
Cofion,
Neil.
More information about the ubuntu-uk
mailing list