tldr/pages/common/deluser.md

253 B

deluser

Remove a user account or remove a user from a group.

  • Remove a user:

deluser {{name}}

  • Remove a user along with their home directory and mail spool:

deluser -r {{name}}

  • Remove a user from a group:

deluser {{name}} {{group}}