Solstice AdminSuite 2.3 Administration Guide

Example of a Command-Line Equivalent for Deleting a User Account

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. 


Note -

The scripts are user created scripts that are located in the /opt/SUNWadmd/Scripts directory.