La commande 'rmuser' permet d'effacer un compte utilisateur du système local.
Les paramètres par défaut sont :
Syntax
rmuser [ -R load_module ] [ -p ] Name
Description
The rmuser command removes the user account that is identified by the Name parameter. This command removes a user account's attributes without
removing the user's home directory and files. The user name must exist. If you specify the -p flag, the rmuser command also removes passwords
and other user authentication information from the /etc/security/passwd file.
For user accounts that are created with an alternate Identification and Authentication (I&A) mechanism, use the -R flag with the appropriate
load module to remove that user. The load modules are defined in the /usr/lib/security/methods.cfg file.
Only the root user or users with UserAdmin authorization can remove administrative users. Administrative users are those users with admin=true
set in the /etc/security/user file.
You can use the Users application in Web-based System Manager to change user characteristics.
You can also use the System Management Interface Tool (SMIT) smit rmuser fast path to run this command.
Flags
-p
Removes user password information from the /etc/security/passwd file and removes the user keystore.
-R load_module
Specifies the loadable I&A module that is used to remove the user account.