[rescue] Silly NetBSD question

Dan Debertin rescue at sunhelp.org
Mon Nov 19 09:44:50 CST 2001


Greg A. Woods writes:
 > >
 > > You need to logout & back in again when you change secondary groups --
 > > your shell only calls initgroups() during startup.
 > 
 > Er, 'login' only calls initgroups() before the shell starts -- and
 > before it calls setuid().  You have to be the superuser to call
 > initgroups().

Yeah, my fingers were two steps ahead of my brain. I really did know
that, honest :).

Dan
-- 
Dan Debertin
airboss at nodewarrior.org
www.nodewarrior.org

Writing software is more fun than working.



More information about the rescue mailing list