When I touched the Linux environment for the first time in a long time, I forgot the Linux command quite a bit, so make a note of it.
groupadd [group name]
cut -d: -f1 /etc/group
usermod -aG [Group name] [User name]
usermod -g [Group name] [User name]
usermod -G [Group name] [User name]
groups [user name]
groupdel [group name]
Recommended Posts