]> git.ipfire.org Git - thirdparty/shadow.git/commit
run_parts for groupadd and groupdel
authored neville <ed@s5h.net>
Mon, 27 Mar 2023 19:23:03 +0000 (20:23 +0100)
committerSerge Hallyn <serge@hallyn.com>
Wed, 26 Apr 2023 22:38:24 +0000 (17:38 -0500)
commit4e1f674c41724dd96ad2c3a0c02ac9f6666697ba
treefe2d59cfb1f8b275f00335615bfd24bac7fb4410
parent15a64f9e7fa24a2c8e0d1754c027a062b9d1e723
run_parts for groupadd and groupdel

run_parts currently exists in useradd and userdel, this commit mirrors
the functionality with groupadd and groupdel

Hook for group{add,del} to include killing processes that have group
membership that would no longer exist to avoid membership ID reuse.
etc/shadow-maint/groupdel-pre.d/01-kill_group_procs.sh [new file with mode: 0644]
src/groupadd.c
src/groupdel.c