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 7619 invoked from network); 15 Nov 2021 18:52:07 -0000 Received: from minnie.tuhs.org (45.79.103.53) by inbox.vuxu.org with ESMTPUTF8; 15 Nov 2021 18:52:07 -0000 Received: by minnie.tuhs.org (Postfix, from userid 112) id 5CFC39C2E2; Tue, 16 Nov 2021 04:52:06 +1000 (AEST) Received: from minnie.tuhs.org (localhost [127.0.0.1]) by minnie.tuhs.org (Postfix) with ESMTP id 301DE9C1E1; Tue, 16 Nov 2021 04:51:58 +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 4A1A69C203; Tue, 16 Nov 2021 04:51:56 +1000 (AEST) Received: from mail-ot1-f41.google.com (mail-ot1-f41.google.com [209.85.210.41]) by minnie.tuhs.org (Postfix) with ESMTPS id C42D59BCFF for ; Tue, 16 Nov 2021 04:51:55 +1000 (AEST) Received: by mail-ot1-f41.google.com with SMTP id h16-20020a9d7990000000b0055c7ae44dd2so29049243otm.10 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=F3KXlBzYUD3PccQCdFjQfiMbgX0a+t0DnEqGcVAR0tx7d9nJCltAMb3CGufV/kN5lN NKg1SDMeyrZXPT/bqFvQmRLRrUg4qHffKPvzFdDItpdSVYX+QFv/eV3qS3fDTsRqN/z7 6v/ETN3ciP+lkmGv/P76ffLNieOfOS5xyNBY3AqTNqxLdvwsADtV4Lsi/GcfPo+NcXb2 3ggWo4j4faev6O65nrc6hW+eaeLUtm0cAnzSiPH5R6IenDSrLtYPLnyJYBiAyn8gMwlL eR3D7sIbWA15wOoSKekqhxRIPprmC+wMF24C2rtvu6rUDg5wdPk7Kr4MBxAfHtMxNvYP fm8g== X-Gm-Message-State: AOAM530p3deItqohcJpZMiVZXQ0ReobbdnM5kkWa9SSfOI6QcyAEXybK oIs8N65nQjaAbN1DT463jocXNjDKO6EhTcQGRqXd97JQZSM= 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 Subject: Re: [COFF] [TUHS] Will someone please explain the history and usage of gpasswd / newgrp / sg? X-BeenThere: coff@minnie.tuhs.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Computer Old Farts Forum List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: The Unix Heritage Society , COFF , Grant Taylor Content-Type: multipart/mixed; boundary="===============2111354611047717236==" Errors-To: coff-bounces@minnie.tuhs.org Sender: "COFF" --===============2111354611047717236== Content-Type: multipart/alternative; boundary="0000000000007ac15505d0d84d85" --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-- --===============2111354611047717236== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KQ09GRiBtYWls aW5nIGxpc3QKQ09GRkBtaW5uaWUudHVocy5vcmcKaHR0cHM6Ly9taW5uaWUudHVocy5vcmcvY2dp LWJpbi9tYWlsbWFuL2xpc3RpbmZvL2NvZmYK --===============2111354611047717236==--