From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/870 Path: news.gmane.org!not-for-mail From: Gerrit Pape Newsgroups: gmane.comp.sysutils.supervision.general Subject: Re: supervised processes controlled by non-root user? Date: Thu, 15 Sep 2005 09:42:02 +0000 Message-ID: <20050915093717.4944.qmail@0d59b37f3e46bc.315fe32.mid.smarden.org> References: <4329310A.8060002@robinbowes.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1126777102 13082 80.91.229.2 (15 Sep 2005 09:38:22 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 15 Sep 2005 09:38:22 +0000 (UTC) Original-X-From: supervision-return-1106-gcsg-supervision=m.gmane.org@list.skarnet.org Thu Sep 15 11:38:13 2005 Return-path: Original-Received: from antah.skarnet.org ([212.85.147.14]) by ciao.gmane.org with smtp (Exim 4.43) id 1EFqAr-00020Q-Ga for gcsg-supervision@gmane.org; Thu, 15 Sep 2005 11:36:57 +0200 Original-Received: (qmail 12863 invoked by uid 76); 15 Sep 2005 09:37:17 -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 12858 invoked from network); 15 Sep 2005 09:37:17 -0000 Original-To: supervision@list.skarnet.org Mail-Followup-To: supervision@list.skarnet.org Content-Disposition: inline In-Reply-To: <4329310A.8060002@robinbowes.com> Xref: news.gmane.org gmane.comp.sysutils.supervision.general:870 Archived-At: On Thu, Sep 15, 2005 at 09:30:02AM +0100, Robin Bowes wrote: > Is it possible to set up services that can be controlled by non-root > users? If so, how? > > (using daemontools 0.76) Add (e.g.) chown ./supervise ./supervise/ok ./supervise/control ./supervise/status to the top of the ./run script. Now can use svc to control the service, and svstat query status informations. Or, if the complete service should be owned by the user, see http://article.gmane.org/gmane.comp.sysutils.supervision.general/795 Regards, Gerrit.