From: utzoo!decvax!cca!sdyer@Bbn-Unix@sri-unix Newsgroups: net.unix-wizards Title: getlogin foolery Article-I.D.: sri-unix.3085 Posted: Fri Sep 3 19:07:35 1982 Received: Wed Sep 8 05:51:25 1982 From: Steve DyerDate: 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