The command-line utility is a Java class called UserAdminCL. Before you can run UserAdminCL, you must be root on your i-Planet server and have the classes shown in Table 4-1 in your classpath:
Table 4-1 Classes for UserAdminCL| Package | Default Location | 
|---|---|
| com.sun.stnr.useradmin.UserAdminCL | /opt/SUNWstnr/lib/useradmin.jar | 
| com.sun.sunnet.SNUtils | /opt/SUNWjeev/classes/SNUtils.jar | 
| com.sun.sunnet.preferences | /opt/SUNWjeev/classes/preference_servlet.jar | 
| com.sun.stnr.common | /opt/SUNWjeev/classes/common.jar | 
| Java 1.1 JDK | /usr/java/lib/classes.zip | 
Use the following procedure to set your classpath so you can use UserAdminCL.
As root, type the following command to set your classpath:
| # CLASSPATH=/opt/SUNWjeev/classes/SNUtils.jar:/opt/SUNWjeev/classes\ /preference_servlet.jar:/opt/SUNWjeev/classes/common.jar:/usr/java/lib\ /classes.zip:/opt/SUNWstnr/lib/useradmin.jar | 
Type the following command to export your classpath:
| # export CLASSPATH | 
Use the following procedure to verify the settings to use UserAdminCL:
If you see the following usage message, you are ready to use UserAdminCL.
| com.sun.stnr.common.CommandLineException: missing switch: +action usage: [jre|java] com.sun.stnr.useradmin.UserAdminCL +action [create|delete|get|list] [-srclogin] [-destlogin] [-usersfile] [-defsfile] [-older] [-nologin] [-debug] [-interactive] | 
If you see other error messages, verify your classpath and try again.