From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/895 Path: news.gmane.org!not-for-mail From: Charlie Brady Newsgroups: gmane.comp.sysutils.supervision.general Subject: Re: chpst: $USER and $HOME Date: Tue, 27 Sep 2005 14:15:38 -0400 (EDT) Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Trace: sea.gmane.org 1128217110 27989 80.91.229.2 (2 Oct 2005 01:38:30 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 2 Oct 2005 01:38:30 +0000 (UTC) Cc: supervision@list.skarnet.org Original-X-From: supervision-return-1131-gcsg-supervision=m.gmane.org@list.skarnet.org Sun Oct 02 03:38:23 2005 Return-path: Original-Received: from antah.skarnet.org ([212.85.147.14]) by ciao.gmane.org with smtp (Exim 4.43) id 1ELsn4-0007Ne-PY for gcsg-supervision@gmane.org; Sun, 02 Oct 2005 03:37:23 +0200 Original-Received: (qmail 12957 invoked by uid 76); 2 Oct 2005 01:37:43 -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 4349 invoked from network); 27 Sep 2005 18:16:02 -0000 X-X-Sender: charlieb@e-smith.charlieb.ott.istop.com Original-To: Nicholas J Humfrey In-Reply-To: Xref: news.gmane.org gmane.comp.sysutils.supervision.general:895 Archived-At: On Tue, 27 Sep 2005, Nicholas J Humfrey wrote: > What is the best practice for setting $USER and $HOME when running "chpst -u > notroot". I have a service which requires $USER and $HOME to be set > correctly. > > At the moment I am just manually setting them prior to the final exec. Which works just fine, doesn't it? Often (usually?) $HOME and $USER don't need to be set.