How do I remove a user from a group on Red Hat Enterprise Linux?

Solution Unverified - Updated -


  • I'm just curious how to roll back from the following command command?
# usermod -G root zabbix


  • 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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content