Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Jan 2001 13:33:26 -0500
From:      "Robert Myers" <>
To:        <>, <freebsd-questions@FreeBSD.ORG>
Subject:   RE: Starting process as different user via rc
Message-ID:  <000001c07c28$2e1925f0$0201a8c0@ccrider2k>
In-Reply-To: <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help

> 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' <user>

PostgreSQL uses this to startup, it is in ports, and does that via the
/usr/local/etc/rc.d/ shell script.

I would guess what you are doing is via something you installed via the 
ports tree?

Robert Myers
Systems Administrator

To Unsubscribe: send mail to
with "unsubscribe freebsd-questions" in the body of the message

Want to link to this message? Use this URL: <$2e1925f0$0201a8c0>