From owner-freebsd-hackers Thu May 30 09:26:17 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id JAA21915 for hackers-outgoing; Thu, 30 May 1996 09:26:17 -0700 (PDT) Received: from MindBender.HeadCandy.com (root@[199.238.225.168]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id JAA21897 for ; Thu, 30 May 1996 09:26:14 -0700 (PDT) Received: from localhost.HeadCandy.com (michaelv@localhost.HeadCandy.com [127.0.0.1]) by MindBender.HeadCandy.com (8.7.5/8.6.9) with SMTP id JAA04672; Thu, 30 May 1996 09:24:52 -0700 (PDT) Message-Id: <199605301624.JAA04672@MindBender.HeadCandy.com> X-Authentication-Warning: MindBender.HeadCandy.com: Host michaelv@localhost.HeadCandy.com [127.0.0.1] didn't use HELO protocol To: "Christoph P. Kukulies" cc: freebsd-hackers@freefall.freebsd.org Subject: Re: newgrp(1) In-reply-to: Your message of Thu, 30 May 96 12:36:13 +0200. <199605301036.MAA20437@gilberto.physik.rwth-aachen.de> Date: Thu, 30 May 1996 09:24:50 -0700 From: "Michael L. VanLoon -- HeadCandy.com" Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >OSF has it. Is there a chance to get it also for FreeBSD? [...] > newgrp - Changes primary group identification of a shell process [...] > The newgrp command changes the primary group identification of the current > shell process to group. You remain logged in and the current directory is > unchanged, but calculations of access permissions to files are performed > with respect to the primary group ID. This is a SysV-ism. If I'm not mistaken, SysV needs this because you can only be in one group at a time. This means you need to constantly newgrp to change group access permissions if you're moving among multiple groups. BSD allows you to be in multiple groups at the same time, so makes this command pretty much unnecessary. This is how I understand it, anyway. I'm sure someone will correct me if I'm wrong... ----------------------------------------------------------------------------- Michael L. VanLoon michaelv@HeadCandy.com --< Free your mind and your machine -- NetBSD free un*x >-- NetBSD working ports: 386+PC, Mac 68k, Amiga, Atari 68k, HP300, Sun3, Sun4/4c/4m, DEC MIPS, DEC Alpha, PC532, VAX, MVME68k, arm32... NetBSD ports in progress: PICA, others... Roll your own Internet access -- Seattle People's Internet cooperative. If you're in the Seattle area, ask me how. -----------------------------------------------------------------------------