From owner-freebsd-questions Thu Jan 11 15:45:19 2001 Delivered-To: freebsd-questions@freebsd.org Received: from whiterose.net (whiterose.net [199.245.105.145]) by hub.freebsd.org (Postfix) with ESMTP id DCCBE37B400 for ; Thu, 11 Jan 2001 15:44:59 -0800 (PST) Received: from ccrider2k (adsl-141-151-201-154.cptl.adsl.bellatlantic.net [141.151.201.154]) by whiterose.net (8.10.1/8.10.1) with SMTP id f0BNist12737; Thu, 11 Jan 2001 18:44:55 -0500 From: "Robert Myers" To: , Subject: RE: Starting process as different user via rc Date: Thu, 11 Jan 2001 13:33:26 -0500 Message-ID: <000001c07c28$2e1925f0$0201a8c0@ccrider2k> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2911.0) Importance: Normal In-Reply-To: <20010111082639.15646.qmail@camelot.bitart.com> X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > 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. > su -c 'program name and options' PostgreSQL uses this to startup, it is in ports, and does that via the /usr/local/etc/rc.d/pgsql.sh shell script. I would guess what you are doing is via something you installed via the ports tree? Robert Myers Systems Administrator http://whiterose.net (717)439-1478 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message