On 22/06/2011, at 9:35 PM, Dieter Plaetinck wrote:
On Wed, 22 Jun 2011 21:30:42 +0930 Ty <ty-ml@eye-of-odin.com> wrote:
On 22/06/2011, at 7:39 PM, Dieter Plaetinck wrote:
yuck. if you just want to manage daemons running as your own user, su and sudo shouldn't even be involved.
On Wed, 22 Jun 2011 11:05:35 +0100 Owain Sutton <mail@owainsutton.co.uk> wrote:
I have to disagree. Some daemons run as a different user like httpd or mpd for instance. They are started by root but are su'd to the user needed. I don't see any need to run an actual "user" daemon but if I did, that would be the way I would do it.
This is not a disagreement, rather a different interpretation of "user daemon". For me "user daemon" means a daemon running as the same user I'm logged in as.
Daemons running as httpd or mpd probably need to be started as root indeed - I'm not aware of a better method -, but I just don't call those "user daemons", they are regular daemons to me.
Dieter
Apologies. I realised what you meant after I posted.