rmuser command
Purpose
Removes a user account.
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. |
Exit Status
Security
This command can only be run by the prime administrator (padmin) user.
Examples
- To remove user account haarlem, type the following command:
rmuser haarlem
- 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.