rmuser command

Purpose

Removes a user account.

Syntax

rmuser [-ldap] [-rmdir] Name

Description

The rmuser command removes the user account that is identified by the Name parameter. This command removes a user account attribute. If you specify the rmdir flag, this command also removes the user's home directory and files.

Flags

Flag name Description
-rmdir Removes the specified user's home directory and files.
Attention: This will delete all data stored in this user account's home directory.
-ldap Identifies the user as an LDAP user account.

Security

This command can only be run by the prime administrator (padmin) user.

Examples

  1. To remove user account haarlem, type the following command:
    rmuser haarlem
  2. To remove the user account and home directory of user account emmen, type the following command:
    rmuser -rmdir emmen
    Attention: This will delete all data stored in this user account's home directory.



Last updated: Wed, November 18, 2020