How do you add a user to a specific group in Linux?
Answer
You can add a user to a group in Linux
using the usermod command. To add a user to a group, specify the -a -G flags. These should be followed by the name of the group to which you want to add a user and the user’s username.
Answer
You can add a user to a group in Linux
using the usermod command. To add a user to a group, specify the -a -G flags. These should be followed by the name of the group to which you want to add a user and the user’s username.