Optionally execute a program after group change
authorGábor Németh <homar@riseup.net>
Thu, 29 Aug 2024 06:59:23 +0000 (08:59 +0200)
committerChris Hofstaedtler <zeha@debian.org>
Tue, 1 Oct 2024 18:13:03 +0000 (20:13 +0200)
commitfb1b1d39e4bd9b45b38693abcb6a5ab4518e5696
tree76cd730d0c9df7c2df9ab5468186229b03ce8718
parentbf9345ffed1b8c6e52027aa5dc8782afb04d1ca8
Optionally execute a program after group change

We accept a `-c` command option or possible second argument which is then
invoked through the user's shell after the group change, as by the `sg`
utility. The default is still running the shell itself.

Gbp-Pq: Topic upstream-master
Gbp-Pq: Name Optionally-execute-a-program-after-group-change.patch
bash-completion/newgrp
login-utils/newgrp.1.adoc
login-utils/newgrp.c