From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,HTML_MESSAGE,MAILING_LIST_MULTI autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 7025 invoked from network); 15 Nov 2021 18:47:15 -0000 Received: from minnie.tuhs.org (45.79.103.53) by inbox.vuxu.org with ESMTPUTF8; 15 Nov 2021 18:47:15 -0000 Received: by minnie.tuhs.org (Postfix, from userid 112) id 5B4F29C664; Tue, 16 Nov 2021 04:47:12 +1000 (AEST) Received: from minnie.tuhs.org (localhost [127.0.0.1]) by minnie.tuhs.org (Postfix) with ESMTP id 257509C1E1; Tue, 16 Nov 2021 04:46:49 +1000 (AEST) Authentication-Results: minnie.tuhs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="Akh405Rw"; dkim-atps=neutral Received: by minnie.tuhs.org (Postfix, from userid 112) id A70B69C1E1; Tue, 16 Nov 2021 04:46:46 +1000 (AEST) Received: from mail-pf1-f182.google.com (mail-pf1-f182.google.com [209.85.210.182]) by minnie.tuhs.org (Postfix) with ESMTPS id C0D429BCFF; Tue, 16 Nov 2021 04:46:45 +1000 (AEST) Received: by mail-pf1-f182.google.com with SMTP id o4so15766845pfp.13; Mon, 15 Nov 2021 10:46:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=/8pZBgdeQt0NVQmJpRi45H+XM9gq7tUE+xShPtaLn9c=; b=Akh405RwLR0u4+5pgxZGpUSFtr5pDQh5h3ZddhOhtCnOVaiwKUGZ3803FG2uzGcUcH umCXwmDDZhiW+GjbMfKaho+3WEsFCjbtjfbR6M+JDEvXFSJXW/Q8+t+7b+2ZhK4FqmHP gkCUmdoufbf8dR7er3EA/KMHWh/0fCyadPNY9cpXDkO1zIiYYKEsknRw0fWmS9UQwTWX RLoITZgs9hICn6KKbBudKxHui36bTL4GM2IensD0/UhAs1Emx6FD1W9Zcl8Uaa7NlVkm 9mxUJDPfwQLECTpzArpHI0BfbtGr8b3FTTbV1fZLNa9x3oQpyeQ5hc2MV3K1hh5wfRno XmGA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=/8pZBgdeQt0NVQmJpRi45H+XM9gq7tUE+xShPtaLn9c=; b=cVY+MciuldkqisF9w9asXe5qpON56xJhOhr1oowFJIVbR0NOvb/Q+Pv9ZzWtyo6Ua8 mZAuY3vZGC5YZhLTp47SUCwpAggcUITLe6KnOCqKG2iJ2Wi8LyXH9eGS4du946fAA7z/ UOrF5O7NB6bweabj688J58PjhaZVM1C0ddqwK38AA9uz+/PXJGnur5VLop9nusJK/+cn iE6/YyhdeicQvAvFD1uc2oDcn3RVvJOVqNqiZQRXZo0H79n4jyexRQRoUnQY6oRJpwFv 4YzRB4viXr3hZ9vXAgwV/JlO9rOTNbjiDD+qscDTEakGpP8w+QGc7TXWLB0WkEPqmfXJ 3kuw== X-Gm-Message-State: AOAM533Xxr/uWeP84M9+ZQw/qRUG2m3VeyqF0GScsITq8wLx8G7T7wj5 IZvdQneWRRIy/OMJQdE95IlOFm/nIFXqIonJ/7I= X-Google-Smtp-Source: ABdhPJx6tEkAh6Lhi9cI7bSr3tYSZkaTywyNXIBjK+HDWLDisnarlU0qNrrj5Hn9A5Evn2jJGofA9uyFiK4pKmftCr8= X-Received: by 2002:a05:6a00:986:b0:4a2:c1fa:8899 with SMTP id u6-20020a056a00098600b004a2c1fa8899mr9478377pfg.61.1637002005231; Mon, 15 Nov 2021 10:46:45 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Henry Bent Date: Mon, 15 Nov 2021 13:46:34 -0500 Message-ID: To: Clem Cole Content-Type: multipart/alternative; boundary="00000000000004bd4d05d0d83bc1" Subject: Re: [TUHS] [COFF] Will someone please explain the history and usage of gpasswd / newgrp / sg? X-BeenThere: tuhs@minnie.tuhs.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: The Unix Heritage Society mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: The Unix Heritage Society , COFF , Grant Taylor Errors-To: tuhs-bounces@minnie.tuhs.org Sender: "TUHS" --00000000000004bd4d05d0d83bc1 Content-Type: text/plain; charset="UTF-8" On Mon, 15 Nov 2021 at 13:31, Clem Cole wrote: > Grant, > > Mashey and crew basically did most of the original group work as part of > PWB. If you look at the Sixth Edition sources and the PWB 1.0 stuff, that > is one of the places you will find differences. With Seventh Edition (or I > believe as part of the UNIX/TS work that Ken picked up), the Mashey group > changes went back into the Research stream. With one of the predecessors to > 4.2BSD (it may have 4.1A or 4.1B but frankly I have forgotten) Joy > introduced the group scheme we all use today. > > Looking at the TUHS archives, unless I'm missing something, 3BSD has groups that appear to be in the modern format: % ls -l /bsd/3bsd/etc/group -r--r--r-- 1 root root 44 1980-01-02 22:08 /bsd/3bsd/etc/group % cat /bsd/3bsd/etc/group staff:*:10:bill,ozalp grad:*:20: prof:*:30: % find . -name 'chgrp*' | xargs ls -l -r-xr-xr-x 1 root root 6960 Dec 30 1979 ./usr/bin/chgrp -r--r--r-- 1 root root 26 Feb 12 1979 ./usr/man/man1/chgrp.1 -r--r--r-- 1 root root 754 Feb 12 1979 ./usr/src/cmd/chgrp.c -Henry --00000000000004bd4d05d0d83bc1 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Mon, 15 Nov 2021 at 13:31, Clem Cole &= lt;clemc@ccc.com> wrote:
<= div class=3D"gmail_quote">
Gra= nt,

Mashey and crew basical= ly did most of the original group work as part of PWB.=C2=A0 =C2=A0If you l= ook at the Sixth Edition sources and the PWB 1.0 stuff, that is one of the = places you will find differences.=C2=A0 With Seventh Edition (or I believe = as part of the UNIX/TS work that Ken picked up), the Mashey group changes w= ent back into the Research stream. With one of the predecessors=C2=A0to 4.2= BSD (it may have 4.1A or 4.1B but frankly I have forgotten) Joy introduced = the group scheme we all use today.


Looking at the TUHS archives, unless I'm missing something, 3BS= D has groups that appear to be in the modern format:

% ls -l /bsd/3bsd/etc/group
-r--r--r-- 1 root root 44 1980= -01-02 22:08 /bsd/3bsd/etc/group
% cat /bsd/3bsd/etc/group
<= div>staff:*:10:bill,ozalp
grad:*:20:
prof:*:30:
% find . -n= ame 'chgrp*' | xargs ls -l
-r-xr-xr-x 1 root root 6960 Dec 30 = =C2=A01979 ./usr/bin/chgrp
-r--r--r-- 1 root root =C2=A0 26 Feb 12 =C2= =A01979 ./usr/man/man1/chgrp.1
-r--r--r-- 1 root root =C2=A0754 Feb 12 = =C2=A01979 ./usr/src/cmd/chgrp.c

-Henry
--00000000000004bd4d05d0d83bc1--