Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have been using ubuntu extensively and use the following from the command line:

deluser <username> <groupname>

It doesn't seem to work in fedora. Is there an equivalent?

share|improve this question
up vote 3 down vote accepted


The corresponding line translates:

Action                 | Debian                | Red Hat/CentOS/Fedora | OpenSUSE               | Gentoo 
delete user from group | deluser user group    | gpasswd -d user group | groupmod -R user group | gpasswd -d user group 
                       | gpasswd -d user group |

If you know an English Rosetta stone for this kind of task, please tell me. ;)

If you are unsure what exactly a command is doing, the corresponding man page should give you all needed details.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.