Contents
How do I delete a secondary group in Linux?
usermod command has -G option to set a list of supplementary groups which the user is also a member of.
…
Step # 2: Remove user from printer group.
| Category | List of Unix and Linux commands |
|---|---|
| Text processing | cut • rev |
How do you delete a secondary group?
Removing User from Secondary Group in Linux
- Syntax. The gpasswd command uses the following syntax for removing a user from group. …
- Example. Use the following command to remove user jack from sudo group. …
- Add User to a Secondary Group. In case you realize that you didn’t want to remove that user from the group. …
- Conclusion.