From owner-freebsd-questions Thu Jan 11 12:21:22 2001 Delivered-To: freebsd-questions@freebsd.org Received: from hpu450.hpu.edu (hpu450.hpu.edu [198.199.136.21]) by hub.freebsd.org (Postfix) with ESMTP id 4EE1337B400 for ; Thu, 11 Jan 2001 12:21:03 -0800 (PST) Received: from sniffit ([10.2.1.7]) by hpu450.hpu.edu (8.8.8+Sun/8.8.7) with SMTP id KAA17232; Thu, 11 Jan 2001 10:20:42 -1000 (HST) From: "Wai Chan" To: "Ben Weaver" , Cc: Subject: RE: Starting process as different user via rc Date: Thu, 11 Jan 2001 10:20:42 -1000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) In-Reply-To: <20010111033251.A4075@tranquility.net> X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Importance: Normal Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG You could use: su - username -c "/path/command" good luck! Wai -----Original Message----- From: owner-freebsd-questions@FreeBSD.ORG [mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of Ben Weaver Sent: Wednesday, January 10, 2001 11:33 PM To: gerti-freebsdq@bitart.com Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Starting process as different user via rc You could make a wrapper for it... -Ben On Thu, Jan 11, 2001 at 02:26:39AM -0600, Gerd Knops wrote: > Hi, > > Is there a way (eg a small utility or some such) that would allow a > process/script to be started from rc using a different UID than root? > SUID would be a poor solution in the case I have in mind. > > Gerd > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message