From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/873 Path: news.gmane.org!not-for-mail From: Robin Bowes Newsgroups: gmane.comp.sysutils.supervision.general Subject: Re: supervised processes controlled by non-root user? Date: Thu, 15 Sep 2005 13:17:51 +0100 Message-ID: <4329666F.4020302@robinbowes.com> References: <4329310A.8060002@robinbowes.com> <20050915093717.4944.qmail@0d59b37f3e46bc.315fe32.mid.smarden.org> <43295EAE.9080903@robinbowes.com> <20050915120556.GA4861@nic-nac-project.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1126786772 10740 80.91.229.2 (15 Sep 2005 12:19:32 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 15 Sep 2005 12:19:32 +0000 (UTC) Original-X-From: supervision-return-1109-gcsg-supervision=m.gmane.org@list.skarnet.org Thu Sep 15 14:19:23 2005 Return-path: Original-Received: from antah.skarnet.org ([212.85.147.14]) by ciao.gmane.org with smtp (Exim 4.43) id 1EFsg7-0007EX-Es for gcsg-supervision@gmane.org; Thu, 15 Sep 2005 14:17:23 +0200 Original-Received: (qmail 15701 invoked by uid 76); 15 Sep 2005 12:17:44 -0000 Mailing-List: contact supervision-help@list.skarnet.org; run by ezmlm List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Archive: Original-Received: (qmail 15695 invoked from network); 15 Sep 2005 12:17:44 -0000 User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en Original-To: supervision@list.skarnet.org In-Reply-To: <20050915120556.GA4861@nic-nac-project.de> Xref: news.gmane.org gmane.comp.sysutils.supervision.general:873 Archived-At: Thomas Schwinge wrote: >On Thu, Sep 15, 2005 at 12:44:46PM +0100, Robin Bowes wrote: > > >>>Or, if the complete service should be owned by the user, see >>>http://article.gmane.org/gmane.comp.sysutils.supervision.general/795 >>> >>> >>This is a "nicer" solution. Is this possible with daemontools, or only >>using your runit package? >> >> > >There once was a web page that described how to set up a service >directory in a user's home directory. >I can't find the URL at the moment, but the procedure was something like >having a service /service/user_service-USER, which has >#v+ >exec \ >setuidgid USER \ >svscan ~USER/service >#v- >... in its run file. > > Thomas, If you find the link please let me know. Also, what are the #v+ and #v- lines in the snippet above? Thanks, R. -- http://robinbowes.com If a man speaks in a forest, and his wife's not there, is he still wrong?