start misbehaving deamons as another user than root
Scott James Remnant
scott at netsplit.com
Wed Jul 11 18:06:49 BST 2007
On Wed, 2007-07-11 at 16:13 +0200, Philippe De Swert wrote:
> I wondered if there was a way to get upstart to start daemons with another
> user than root. This because some daemons don't drop there privileges decently
> (or as in my case I need the init system to start them up, but I need them to
> be running with user privileges)
>
> I tried the following in the upstart scripts:
>
> su -l username -c daemon-command
>
su -l username -c exec daemon-command
Scott
--
Have you ever, ever felt like this?
Had strange things happen? Are you going round the twist?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/upstart-devel/attachments/20070711/2f6337e2/attachment.pgp
More information about the upstart-devel
mailing list