]> git.ipfire.org Git - thirdparty/shadow.git/commit
groupadd, groupmod: Update gshadow file with -U
authorDennis Baurichter <dennisba@mail.upb.de>
Sun, 17 Nov 2024 02:27:40 +0000 (03:27 +0100)
committerAlejandro Colomar <alx@kernel.org>
Tue, 3 Dec 2024 10:16:13 +0000 (11:16 +0100)
commitf220407144f37fab591ca799fc6b930a8500a0a2
tree052999ccbefe9af50859c1b0f2c7cfd65f93b561
parent9f129146ff86fde5dd73c9ff71b597adcaeb26ef
groupadd, groupmod: Update gshadow file with -U

When running groupadd or groupmod with the -U|--user option, also update
the group shadow database if it is used.

Fixes: 342c934a (2020-08-09, "add -U option to groupadd and groupmod")
Closes: <https://github.com/shadow-maint/shadow/issues/1124>
src/groupadd.c
src/groupmod.c