X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BE3B13858D39 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1713591598; bh=I/8WPCaMiJybzfJLFnIYxPul5FyM+dNBdcoS8UcxY/Y=; h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=NHWM+BHDM8d862EsJjZIJ9i8FOu1E6gqXQdzu/O36S+Ms90f1orJ6nD0LMo7VWp8f D+O4C6BfBu9ctX6YK4dZUejlwIxkcMV9XJjtQmtrSyyUHCMgXpoVANU87+79r7sd/U bA+BwUTzfiOcHzhvxbTwO9k9wxNsMck4oWIpziww= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org C3E163858D33 ARC-Filter: OpenARC Filter v1.0.0 sourceware.org C3E163858D33 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1713591541; cv=none; b=eWo83y3zCWs38HWuHBAlTPRkgQ6EDyBfdgzUa0mOpfwRFRaE+0BrjxufcSr2T2oaMYjL/1RpuiSNHCre+Q2Ll06FTIq2S1yCWAQnUvURt0EhbRf8ciXyJWTD8pqGDlTy90j4BtzcrglRtf0Dy2rP7BGpZrsfhoLIIZzYvWmP9Gc= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1713591541; c=relaxed/simple; bh=vhA8AdiiH02BPjoPKzTKRuPyHxGup2Ep8sUm7FHv8fY=; h=Message-ID:Date:MIME-Version:Subject:To:From; b=AKc5C1Bqr6uF+sGJ0Pu6ubKGMIE/+cWHsgNMuJJNNyOLG+CR27efC0LfR6YkRwN2aB49CgSA1sikDqzOekrkt/UfEZgODemL7gCaSmztYwkkFfrbHvShChzn6qXrbVHuidzq77hI7N9bVHOE0FdHHujT9gnUkazPMDnvKoRnWEc= ARC-Authentication-Results: i=1; server2.sourceware.org Message-ID: <b7ee5e6a-f351-4293-861a-9c4b59ef69dd@SystematicSW.ab.ca> Date: Fri, 19 Apr 2024 23:38:56 -0600 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: /usr/bin/sg in Cygwin? Content-Language: en-CA To: cygwin AT cygwin DOT com References: <CAAvCNcBw0z3EJnjvs4hooW7cmgRvCA=-ofMywYZM3+f9OcJEFQ AT mail DOT gmail DOT com> <CAAvCNcDch6VYDYR3ocwUdko8m0CUtMCM-OLRqmDDn-8hCQYySg AT mail DOT gmail DOT com> Organization: Systematic Software In-Reply-To: <CAAvCNcDch6VYDYR3ocwUdko8m0CUtMCM-OLRqmDDn-8hCQYySg@mail.gmail.com> X-Rspamd-Queue-Id: CD4862000D X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H5, RCVD_IN_MSPIKE_WL, SPF_HELO_PASS, SPF_PASS, TXREP, UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.6 X-Rspamd-Server: rspamout02 X-Stat-Signature: 4y31fykt47mexchcy7uz4ymmm9cr1g7n X-Session-Marker: 427269616E2E496E676C69734053797374656D6174696353572E61622E6361 X-Session-ID: U2FsdGVkX19AiZMV4KmCDETJgFty6BUDLronUjEwxyw= X-HE-Tag: 1713591537-688017 X-HE-Meta: U2FsdGVkX19RuIbkbW2i8ELcM3CK7tCayiRxgu6Aq6oVSxj3m+usOYqT8kRPyiJz5XJUZhI6GYkeA9s/X7bpDwHp4yYhWBdG7g8bmDsCgsKiGun1n0t7u42jC7FxejEQyk3XkLSk8F9gNLhVmzY9S6iyokFvrGLYQnuMeei8qTa1+dbENy/tz/vU8ePvRc+Zb4wk+V1/c2viZKpZQbeZtGH4qIXcO3KupzPY/IpzijS0Rm0/O3YDHKVbsPDFaCrnavKDJ+RaLJd2qTymmPBakofzsb9FziMvqrFQHWgTEeCC+ZWYt/otmg4pBRsJ6WCJuwgnUfegUa/gNXw0tjLvP5713wQ/YoAo 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 Precedence: list List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com> List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>, <mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe> 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: Brian Inglis via Cygwin <cygwin AT cygwin DOT com> Reply-To: cygwin AT cygwin DOT com Cc: Brian Inglis <Brian DOT Inglis AT SystematicSW DOT ab DOT ca> Content-Type: text/plain; charset="utf-8"; Format="flowed" Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com> Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 43K5e0I24144666 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. To see possibly relevant commands, run: $ apropos -s 1,1p group chgrp (1) - change group ownership chgrp (1p) - change the file group ownership chown (1) - change file owner and group g3topbm (1) - convert a Group 3 fax file into a PBM image groups (1) - print the groups a user is in id (1) - print real and effective user and group IDs make (1) - GNU Make utility to maintain groups of programs make (1p) - maintain, update, and regenerate groups of programs mkgroup (1) - Write /etc/group-like output to stdout newgrp (1) - change primary group for a command newgrp (1p) - change to a new group pbmtog3 (1) - convert a PBM image into a Group 3 MH fax file -- Take care. Thanks, Brian Inglis Calgary, Alberta, Canada La perfection est atteinte Perfection is achieved non pas lorsqu'il n'y a plus rien à ajouter not when there is no more to add mais lorsqu'il n'y a plus rien à retirer but when there is no more to cut -- Antoine de Saint-Exupéry -- 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