- removes the named file user
delete-file-user [--help][--authrealmname auth_realm_name] [--target target] username
The delete-file-user subcommand deletes the entry in the keyfile for the specified username.
Displays the help text for the subcommand.
The name of the authentication realm with which the user was created.
This is the name of the target on which the command operates. This option is valid only in domains that are configured to support clusters, such as domains that are created with the cluster profile or the enterprise profile. The valid targets are:
Deletes the file user on the default server instance. This is the default value
Deletes the file user in the domain.
Deletes the file user from every server instance in the cluster.
Deletes the file user from a particular server instance.
This is the name of file user to be deleted.
Example 1 Deleting a User From a File Realm
The following example shows how to delete user named sample_user from a file realm.
asadmin> delete-file-user sample_user Command delete-file-user executed successfully
subcommand executed successfully
error in executing the subcommand