Nguyễn Trần Mai Trang
New member
How do you create a group in Linux?
Answer
Creating and managing groups on Linux
Answer
Creating and managing groups on Linux
- To create a new group, use the groupadd command.
- To add a member to a supplementary group, use the usermod command to list the supplementary groups that the user is currently a member of, and the supplementary groups that the user is to become a member of.
- To display who is a member of a group, use the getent command.