delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2024/04/22/01:37:09

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 427283858C60
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1713764228;
bh=sRTGQgNbanDsUsjbF+VOpo/fznP0+y5CJSNT4Es6Isw=;
h=References:In-Reply-To:Date:Subject:To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
From;
b=XEd7ao7dXU5lpsezSy8qjoQsVIUZnh48xG8Nwh2cfDwr/VFyHsLu37hJ34Mgf4mSz
UXxx06jR7tJEL+qmPPjNCMBxce7fD+TE/F9wCJim2KqtDX/ciXcU1zukLx1Wepa3mI
rTp+cWooOi6ej9cEeVYurlJBw/5crLGPQw/qAiiE=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org CE2953858D38
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org CE2953858D38
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1713764179; cv=none;
b=Z5gmjotbr34c6/oAzfNQMR/jB6Ct+nsPnoSErrQMmf+M0jvZ94HWUPAQBUSxPw6RX/9qzgqMOd44dTNN/T7RAZdWwT/FZRhOV2zNDY5Do4KhoBEcKVehuNbJOMbuZhBnm4HAygeTHZHDpsTgTDoaS/GyAHQ7ci7RE2ohY5avPCo=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1713764179; c=relaxed/simple;
bh=IR3SqwnywYRId2brm0Ki9Yj1Sq16l+YhRm4EAJa71NA=;
h=DKIM-Signature:MIME-Version:From:Date:Message-ID:Subject:To;
b=ntQxZyxaPJKmDO4yy1cPQj1oXyzr1Gk+oo9bdclj8FrHmeMyP2oi9V4oPbG1e6ZmMFgdbUWF83y9SxT16aA/cnBiqBwuY8byjRh/ZBdiHjMBhfLFWnT8Rs9PeDhhHjjuAo0BU5HU6kguEh1JOxDNI2H0d2/aBR2/5s/6V0BnoGI=
ARC-Authentication-Results: i=1; server2.sourceware.org
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1713764176; x=1714368976;
h=to:subject:message-id:date:from:in-reply-to:references:mime-version
:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
bh=qvoIvvFDF/kb3VNta50ilYmEyPSX1Za0V+4RcNC8yys=;
b=WeyiIvEnYML9e0FF6eOIxwwwhq13CPbEWgwZNk5VPVQYOd1zdX2Ilp7rTYi0XJ6dhY
j13ukt8Os8T90jPe4asOip9es3rHq8bRBHN7r0EizBQgssvZ+Y6mE1RqVnt4XJvWaCyr
2Fy3gzqqCB/n87cPS5f/HSIMCNfA/dtOeMUCAh0tp0P42KDDTddBwUN0c8W6QNMeLPoI
WXb/UD6NPWkMHjLfjKnf4bqSKcaKWzMpA3h/T+pYQ8tJAAE9vhw+JMIpdvdFrZ76oRk9
dhjqvoIa5NDRHDEeSqnpvm4CPGagGflxgJD9TQXGw9vR8NH3t++rxnKiZsot6YptS5S4
Oi+w==
X-Gm-Message-State: AOJu0Yypppi+72R0/PLhf5MUoydYgWZmgp5Zres5FMhdo8wGtDTzMYix
IYeL0Xguw2SMPHQQL/QPHAi20ZPRGHL/42TBowGSgSEz/9vTi0dYrACKKPMkYF7MtnTx9jPsEob
2Ji7VVL6w5M/Sw9p+uPk7xzvmam9vygSJ
X-Google-Smtp-Source: AGHT+IHjP/q1AucrWKUObJGrwDq170pcSCIhukN7HJN08tuRipbdBo9pBVssM/hqefX24K+7Xhres5Sk77+WdwORhDA=
X-Received: by 2002:a17:907:2684:b0:a55:7669:8b4a with SMTP id
bn4-20020a170907268400b00a5576698b4amr11915823ejc.32.1713764176098; Sun, 21
Apr 2024 22:36:16 -0700 (PDT)
MIME-Version: 1.0
References: <CAAvCNcBw0z3EJnjvs4hooW7cmgRvCA=-ofMywYZM3+f9OcJEFQ AT mail DOT gmail DOT com>
<CAAvCNcDch6VYDYR3ocwUdko8m0CUtMCM-OLRqmDDn-8hCQYySg AT mail DOT gmail DOT com>
<b7ee5e6a-f351-4293-861a-9c4b59ef69dd AT SystematicSW DOT ab DOT ca>
In-Reply-To: <b7ee5e6a-f351-4293-861a-9c4b59ef69dd@SystematicSW.ab.ca>
Date: Mon, 22 Apr 2024 07:35:00 +0200
Message-ID: <CALXu0Ud=0WtCSxNTk8VahNOTX1bdLfkWMq35VSBVnOTNBrswfg@mail.gmail.com>
Subject: Re: /usr/bin/sg in Cygwin?
To: cygwin AT cygwin DOT com
X-Spam-Status: No, score=-0.6 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,
SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.30
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Cedric Blancher via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Cedric Blancher <cedric DOT blancher AT gmail DOT com>
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>

Good morning!

On Sat, 20 Apr 2024 at 07:39, Brian Inglis via Cygwin <cygwin AT cygwin DOT com> wrote:
>
> On 2024-04-19 17:47, Dan Shelton via Cygwin wrote:
> > On Fri, 23 Feb 2024 at 22:25, Dan Shelton wrote:
> >> Is there a package which provides /usr/bin/sg (execute shell commands
> >> in a different group)?
>
> The POSIX standard command is newgrp - install cygwin-doc to see Cygwin (and
> newlib libc) man pages (and info, html, PDF docs), man-pages-posix to see POSIX
> man pages, and man-pages-linux if you want to see recent Linux release man pages.

Debian /usr/bin/sg (setgid analog to /usr/bin/su) comes from the
package "login" (https://packages.debian.org/bookworm/login), same
package as /usr/bin/newgrp. So maybe it just needs to be packaged by
whoever owns the Cygwin package for /usr/bin/newgrp?

Ced
-- 
Cedric Blancher <cedric DOT blancher AT gmail DOT com>
[https://plus.google.com/u/0/+CedricBlancher/]
Institute Pasteur

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019