Date: Thu, 11 Jan 2001 04:06:44 -0600 From: Gerd Knops <gerti@bitart.com> To: Edwin Groothuis <mavetju@chello.nl> Cc: freebsd-questions@freebsd.org Subject: Re: Starting process as different user via rc Message-ID: <20010111100644.15757.qmail@camelot.bitart.com> In-Reply-To: <20010111103440.G94930@d9168.upc-d.chello.nl> References: <20010111082639.15646.qmail@camelot.bitart.com> <20010111103440.G94930@d9168.upc-d.chello.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
Edwin Groothuis wrote: > On Thu, Jan 11, 2001 at 02:26:39AM -0600, Gerd Knops wrote: > > 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. > > You can use su for it I think: > > [/usr/home/edwin] root@kludge>su - www whoami > www > That should do nicely, thanks! Odd, using su never occurred to me in that context... Gerd To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010111100644.15757.qmail>