Skip Menu |

This queue is for tickets about the Daemon-Generic CPAN distribution.

Report information
The Basics
Id: 81478
Status: resolved
Priority: 0/
Queue: Daemon-Generic

People
Owner: Nobody in particular
Requestors: brad.vanorden [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Feature enhancement request
Date: Tue, 27 Nov 2012 06:03:52 -0500
To: bug-Daemon-Generic [...] rt.cpan.org
From: Brad Van Orden <brad.vanorden [...] gmail.com>
Using version 0.82. It would be great to pass a userid and groupid to newdaemon to have the daemon and it's associated files created (or switched to after creation) with those ids. Beneficial for times when you need a daemon to open a restricted port, but want it owned by a non-root user. Another example is if you have Apache HTTPD configured to run as non-root and need this new daemon to run under that same userid. Thanks! Brad Van Orden
You can simply set $< and $> in gd_run. There the documentation now says it's okay to do that. On Tue Nov 27 06:04:06 2012, brad.vanorden@gmail.com wrote: Show quoted text
> Using version 0.82. > > It would be great to pass a userid and groupid to newdaemon to have > the daemon and it's associated files created (or switched to after > creation) with those ids. Beneficial for times when you need a daemon > to open a restricted port, but want it owned by a non-root user. > Another example is if you have Apache HTTPD configured to run as > non-root and need this new daemon to run under that same userid. > > Thanks! > > Brad Van Orden
Subject: Re: [rt.cpan.org #81478] Feature enhancement request
Date: Wed, 13 Feb 2013 07:01:15 -0500
To: bug-Daemon-Generic [...] rt.cpan.org
From: Brad Van Orden <brad.vanorden [...] gmail.com>
Thanks! :) On Tue, Feb 12, 2013 at 8:20 PM, David_Muir_Sharnoff via RT <bug-Daemon-Generic@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=81478 > > > You can simply set $< and $> in gd_run. There the documentation now says it's okay to do > that. > > On Tue Nov 27 06:04:06 2012, brad.vanorden@gmail.com wrote:
>> Using version 0.82. >> >> It would be great to pass a userid and groupid to newdaemon to have >> the daemon and it's associated files created (or switched to after >> creation) with those ids. Beneficial for times when you need a daemon >> to open a restricted port, but want it owned by a non-root user. >> Another example is if you have Apache HTTPD configured to run as >> non-root and need this new daemon to run under that same userid. >> >> Thanks! >> >> Brad Van Orden
> > >