[rescue] Silly NetBSD question

Greg A. Woods rescue at sunhelp.org
Mon Nov 19 02:03:57 CST 2001


[ On Monday, November 19, 2001 at 01:02:51 (-0600), Dan Debertin wrote: ]
> Subject: Re: [rescue] Silly NetBSD question
>
> 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().

-- 
							Greg A. Woods

+1 416 218-0098      VE3TCP      <gwoods at acm.org>     <woods at robohack.ca>
Planix, Inc. <woods at planix.com>;   Secrets of the Weird <woods at weird.com>



More information about the rescue mailing list