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.1 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, HTML_FONT_LOW_CONTRAST,HTML_IMAGE_ONLY_28,HTML_MESSAGE, MAILING_LIST_MULTI autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 7673 invoked from network); 15 Nov 2021 18:52:30 -0000 Received: from minnie.tuhs.org (45.79.103.53) by inbox.vuxu.org with ESMTPUTF8; 15 Nov 2021 18:52:30 -0000 Received: by minnie.tuhs.org (Postfix, from userid 112) id 397059C698; Tue, 16 Nov 2021 04:52:24 +1000 (AEST) Received: from minnie.tuhs.org (localhost [127.0.0.1]) by minnie.tuhs.org (Postfix) with ESMTP id 199E79C2A0; Tue, 16 Nov 2021 04:52:04 +1000 (AEST) Authentication-Results: minnie.tuhs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=ccc.com header.i=@ccc.com header.b="cTPI2RJi"; dkim-atps=neutral Received: by minnie.tuhs.org (Postfix, from userid 112) id 516399BCFF; Tue, 16 Nov 2021 04:51:56 +1000 (AEST) Received: from mail-ot1-f47.google.com (mail-ot1-f47.google.com [209.85.210.47]) by minnie.tuhs.org (Postfix) with ESMTPS id D2D939C1E1 for ; Tue, 16 Nov 2021 04:51:55 +1000 (AEST) Received: by mail-ot1-f47.google.com with SMTP id g91-20020a9d12e4000000b0055ae68cfc3dso29060758otg.9 for ; Mon, 15 Nov 2021 10:51:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ccc.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=mPHRYXJ24zG+9rzNU+oT4KrdWYFKidh3IdN+wXVMRy0=; b=cTPI2RJiWAz9h6FCebGSmwfBI5Z6ydDSb6ZbUPjU+pgAOpTZZ5828BJxZ7NB2DfvDq hVx6oEr1/o9+zRtdkHJp+/B65NafwXeyPQr04N6JmOc65Sw7tskJMf2gdAlKmv30hqyL EvgCTKvbgVe4e1IwHOskcY4l979W1fTa/3n5c= 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=mPHRYXJ24zG+9rzNU+oT4KrdWYFKidh3IdN+wXVMRy0=; b=rbaisSYg3YOdKdkeRP6DYigfbZAnwBln92O6r8W6Ad6uLbleywc69Z/BEwrm9B/GdD It8SAC9XnT/ro2T2pFqP9J409T2EKR7ToZUzdiDlK3vO//TiQ8LPuGuySrw16PT/KGz2 qN/pUmk8YdOxvPjSxdjuAPQ4DPMweX7ChbeRtqLpR8VUSu6s9O/JPTEFmNihKEyfZXm1 Zei1roeWVIohhJhYpaVkf7tkiZ3xME3ZJISEOL+m+DOnNkerzcK5gRY2sBHmwmM7YPLr b8kEgwEHW4wTqHQZcOjL7oNeebvfPdsf0SBYDKrxZHyMdh6tB4OCtPv7N45it+exseHL A5Uw== X-Gm-Message-State: AOAM531Gt82ZDg5liNcbhz/ZcDSlPSbhuR5BVqYF+HeSt0RV2+9Tme60 0RWHWywCitRJWRKzkoVOHKbU/6u96yuOXd1rvU6cXw== X-Google-Smtp-Source: ABdhPJzobBEXeKlWU6vfRu/WxzmcGSoMblXLHHCA/hZ/XcBhVgFci/ZIXZxjCetfnjm82t6SAyEL6iW7Ly3nbvO+W2E= X-Received: by 2002:a9d:6e12:: with SMTP id e18mr1013882otr.79.1637002314951; Mon, 15 Nov 2021 10:51:54 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Clem Cole Date: Mon, 15 Nov 2021 13:51:30 -0500 Message-ID: To: Henry Bent Content-Type: multipart/alternative; boundary="0000000000007ac15505d0d84d85" 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" --0000000000007ac15505d0d84d85 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 3BSD has the V7 scheme, the new kernel code where there is a group list in the process is not introduced until later/ =E1=90=A7 On Mon, Nov 15, 2021 at 1:46 PM Henry Bent wrote: > 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, t= hat >> is one of the places you will find differences. With Seventh Edition (o= r I >> believe as part of the UNIX/TS work that Ken picked up), the Mashey grou= p >> 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 > --0000000000007ac15505d0d84d85 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
3BSD has the V7 scheme, the new kernel code where there= is a group list in the process is not introduced until later/
<= div hspace=3D"streak-pt-mark" style=3D"max-height:1px">3D""=E1=90=A7
On Mon, Nov 15, 2021 at 1:46 PM Henry Bent <henry.r.bent@gmail.com> wrote:
<= div dir=3D"ltr">On Mon, 15 Nov 2021 at 13:31, Clem Cole <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
--0000000000007ac15505d0d84d85--