Sun GlassFish Enterprise Server v3 Prelude Administration Guide

ProcedureTo Delete a File User

The remote delete-file-user command enables you to remove a user entry from the keyfile by specifying the user name.

  1. Ensure that the server is running.

    Remote commands require a running server.

  2. Obtain the exact name of the file user that you are deleting.

    To list the existing file users:


    asadmin list-file-users
    
  3. Delete the user by using the delete-file-user(1) command.


Example 7–9 Deleting a User

The following example command deletes user Jennifer from the default file realm:


asadmin delete-file-user Jennifer

Information similar to the following is displayed:


Command delete-file-user executed successfully.

See Also

To see the full syntax and options of the command, type asadmin delete-file-user --help at the command line.