Good morning! On Sat, 20 Apr 2024 at 07:39, Brian Inglis via Cygwin <cygwin@cygwin.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.blanc...@gmail.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