]> git.ipfire.org Git - thirdparty/shadow.git/commit
add -U option to groupadd and groupmod 271/head
authorSerge Hallyn <shallyn@cisco.com>
Sun, 9 Aug 2020 21:44:30 +0000 (16:44 -0500)
committerSerge Hallyn <shallyn@cisco.com>
Mon, 10 Aug 2020 03:11:33 +0000 (22:11 -0500)
commit342c934a35906362b89aaa015b265a66ce011d45
tree237e81b95834d08bc706e890c840e5ebe8ee4349
parent7ea342579ee5a99caa9c3e3e91afe9ec204f83ed
add -U option to groupadd and groupmod

Add a -U option which adds new usernames as members.  For groupmod,
also add -a (append), without which existing members are removed.

Closes #265
lib/groupmem.c
lib/prototypes.h
man/groupadd.8.xml
man/groupmod.8.xml
src/groupadd.c
src/groupmod.c