How do I remove a user from a group on Red Hat Enterprise Linux?
Issue
- I'm just curious how to roll back from the following command command?
# usermod -G root zabbix
Environment
- Red Hat Enterprise Linux (RHEL), including
- Red Hat Enterprise Linux 4 (RHEL4)
- Red Hat Enterprise Linux 5 (RHEL5)
- Red Hat Enterprise Linux 6 (RHEL6)
- A user in one or more secondary groups. For example, the following user is in the "root" secondary group:
$ groups testuser
testuser : testuser root
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
