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>
Mon, 9 Sep 2024 21:20:25 +0000 (23:20 +0200)
commit21fd5d7ba281c158dd76d66cf8df5cba0ab4e31a
tree970dde75d6bf775e83266bcc4246aa2dcb6fd9ae
parente96a9010c133f55654f9e3b5949c982982f93cde
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