[net.unix-wizards] getlogin foolery

sdyer@Bbn-Unix@sri-unix (09/04/82)

From: Steve Dyer <sdyer@Bbn-Unix>
Date: 31 Aug 1982 12:00:39 EDT (Tuesday)

At Harvard, we implemented the concept of "login uid" which was
independent of the real or effective uid.  We added two new system
calls which set/retrieved the user's login uid.  (It did a bit
more than Dennis Ritchie's reference to adding a u.u_luid field,
but functionally it had the same effect.)  "login" set the luid
before execing the user's shell.  Worked fine--just the thing for
for privileged programs which have to run in a hostile (read,
student) environment.

/Steve Dyer