Re: Using twistd with -c option causes permission error
Jean-Paul Calderone <[email protected]>
| Newsgroups | gmane.comp.python.twisted |
|---|---|
| Message-ID | <CAEeXt4NVJ_RmcMeLJ+M11hpc_fi33TCqhM6+rt+DbdxzhC+1ZA@mail.gmail.com> |
On Tue, Aug 28, 2018 at 5:54 AM Richard Shea <[email protected]> wrote: > > With Apache the process starts as root, reads the key and then makes the > apache process run as a different, less powerful, user but I can't see how > you can do the equivalent for twistd ? Am I overlooking something ? > > twistd has `--uid` and `--gid` options for switching to another user after `privilegedStartService` runs. However, I'm not sure how much help this will be since there is a strong desire to replace twistd with twist and twist does not have these features. Perhaps someone who has been working on twist can explain the preferred workflow using that tool. > > Thanks > > _______________________________________________ > Twisted-Python mailing list > [email protected] > https://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python > _______________________________________________ Twisted-Python mailing list [email protected] https://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python