When a user is removed from the system, you must ensure that the user's home directory and any objects that the user owns are also deleted. As an alternative to deleting objects that are owned by the user, you might change the ownership of these objects to a valid user.
You must also ensure that all batch jobs that are associated with the user are also deleted. No objects or processes belonging to a removed user can remain on the system.
You must be in the System Administrator role.
Archive the user's home directory at every label.
Archive the user's mail files at every label.
In the Solaris Management Console, delete the user account.
Open a Trusted Extensions toolbox in the Solaris Management Console.
Use a toolbox of the appropriate scope. For details, see Initialize the Solaris Management Console Server in Trusted Extensions in Oracle Solaris Trusted Extensions Configuration Guide.
Under System Configuration, navigate to User Accounts.
A password prompt might be displayed.
Type the role password.
Select the user account to be removed, and click the Delete button.
You are prompted to delete the user's home directory and mail files. When you accept the prompt, the user's home directory and mail files are deleted in the global zone only.
In every labeled zone, manually delete the user's directories and mail files.
You are responsible for finding and deleting the user's temporary files at all labels, such as files in /tmp directories.