[314] in NetBSD-Development
Re: login
daemon@ATHENA.MIT.EDU (John Kohl)
Fri Dec 23 11:51:53 1994
Date: Fri, 23 Dec 1994 11:51:27 -0500
From: John Kohl <jtk@atria.com>
To: yoav@MIT.EDU
Cc: netbsd-dev@MIT.EDU
In-Reply-To: <199412231604.LAA10770@lola-granola.MIT.EDU> (yoav@MIT.EDU)
You probably want to use the seteuid() function. You can freely
seteuid() to either the original uid or original euid.
You cannot freely set the real UID--once you set it to non-root, there's
no going back.
If you haven't done so already, examine the source to the NetBSD native
login.
==John