<p dir="ltr"><br>
2014年11月20日 02:12于 "Andrei POPESCU" <<a href="mailto:andreimpopescu@gmail.com">andreimpopescu@gmail.com</a>>写道:<br>
><br>
> On Mi, 19 nov 14, 19:32:51, Wang Jian wrote:<br>
> ><br>
> > My use case is a little special. I want to use it to replace<br>
> > daemontools-run, to<br>
> > run services of  normal privilege on the servers, not for this single user.<br>
><br>
> Could you please elaborate on this? The recommended way to start<br>
> *system* services as another user is via the User= and Group= directives<br>
> in the unit files.</p>
<p dir="ltr">Only root can configure this, not convenient for devs.</p>
<p dir="ltr">><br>
> A 'systemd --user' instance is rather meant for individual users to run<br>
> their own services (e.g. I use it to run imapfilter).</p>
<p dir="ltr">But not limited to this. For example, you can run web application server under  deployment account. Devs can do whatever they want, in more secure and<br>
powerful way.</p>
<p dir="ltr">><br>
> Kind regards,<br>
> Andrei<br>
> --<br>
> <a href="http://wiki.debian.org/FAQsFromDebianUser">http://wiki.debian.org/FAQsFromDebianUser</a><br>
> Offtopic discussions among Debian users and developers:<br>
> <a href="http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic">http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic</a><br>
> <a href="http://nuvreauspam.ro/gpg-transition.txt">http://nuvreauspam.ro/gpg-transition.txt</a><br>
</p>