From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/822 Path: news.gmane.org!not-for-mail From: Charlie Brady Newsgroups: gmane.comp.sysutils.supervision.general Subject: Re: dnscache runs under daemontools, unable to bind (access denied) using runit Date: Fri, 20 May 2005 13:22:52 -0400 (EDT) Message-ID: References: <41EB9410-E945-46D1-A17D-171BFC4750DF@nednieuws.com> <001f01c55d55$786c6460$6601a8c0@GHDESK> <2EF613DA-4D3C-434C-9E67-80CBBCA76E30@nednieuws.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Trace: sea.gmane.org 1116609801 20110 80.91.229.2 (20 May 2005 17:23:21 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 20 May 2005 17:23:21 +0000 (UTC) Cc: supervision@list.skarnet.org Original-X-From: supervision-return-1058-gcsg-supervision=m.gmane.org@list.skarnet.org Fri May 20 19:23:20 2005 Return-path: Original-Received: from antah.skarnet.org ([212.85.147.14]) by ciao.gmane.org with smtp (Exim 4.43) id 1DZBC2-0002FY-Jn for gcsg-supervision@gmane.org; Fri, 20 May 2005 19:21:50 +0200 Original-Received: (qmail 18270 invoked by uid 76); 20 May 2005 17:23:16 -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 18264 invoked from network); 20 May 2005 17:23:16 -0000 X-X-Sender: charlieb@e-smith.charlieb.ott.istop.com Original-To: "Charles M. Gerungan" In-Reply-To: <2EF613DA-4D3C-434C-9E67-80CBBCA76E30@nednieuws.com> Xref: news.gmane.org gmane.comp.sysutils.supervision.general:822 X-Report-Spam: http://spam.gmane.org/gmane.comp.sysutils.supervision.general:822 On Fri, 20 May 2005, Charles M. Gerungan wrote: > -U user[:group] > envuidgid. Set the environment variables $UID and $GID to the > user's uid and gid. If user is followed by a colon and a group, > set $GID to the group's gid instead of user's gid. > > So the difference is that -u drops privileges before the program is invoked > and -U after? -U doesn't do anything with privileges. It does exactly what the documentation says it does - it sets environment variables. Read dnscache documentation for effect of any environment variable settings. --- Charlie