Date: Sat, 20 Oct 2001 14:31:34 +0100 From: David Taylor <davidt@yadt.co.uk> To: Tomek <tomek@mpionline.com> Cc: freebsd-security@FreeBSD.ORG Subject: Re: Making almost everything non-root Message-ID: <20011020143134.B41471@gattaca.yadt.co.uk> In-Reply-To: <0e3a01c15964$fd88fee0$f6f073d1@mpionline.com>; from tomek@mpionline.com on Sat, Oct 20, 2001 at 06:44:42 -0600 References: <0e3a01c15964$fd88fee0$f6f073d1@mpionline.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 20 Oct 2001, Tomek wrote: > login info and actually running shells. Is there a way to on-the-fly > make a running PID a different user given the proper login information? Yes. It involves running as root and calling set*id()... > NOTE: I do not understand why programs have not been designed this way. > I know it may be a slight inconvenience for login programs, but until > the user enters root login information, I do not see a strong argument > for giving the program root privileges in the first place. > Because they need root privileges to change the UID of a process... -- David Taylor davidt@yadt.co.uk To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011020143134.B41471>