The following command is the equivalent of deleting a user account with User Manager.
# admuserdel -r -x serv=lorna -x predel=predelscript -x postdel=postdelscript test1 |
In this command,
-r |
Specifies that the contents of the user's home directory be removed. |
-x serv=lorna |
Specifies the name of the server where the home directory resides. |
-x predel=predelscript |
Specifies the name of the script to run before the user is deleted. |
-x postdel=postdelscript |
Specifies the name of the script to run after the user is deleted. |
test1 |
Specifies the name of the user account. |
The scripts are user created scripts that are located in the /opt/SUNWadmd/Scripts directory.