Sun GlassFish Enterprise Server v3 Administration Guide

ProcedureTo Delete a File User

Use the delete-file-user subcommand in remote mode to remove a user entry from the keyfile by specifying the user name. You cannot delete yourself, that is, the user you are logged in as cannot be deleted during your session.

  1. Ensure that the server is running.

    Remote subcommands require a running server.

  2. List users by using the list-file-users(1) subcommand.

  3. Delete the user by using the delete-file-user(1) subcommand.

Example 12–9 Deleting a User

This example deletes user Jennifer from the default file realm.

asadmin> delete-file-user Jennifer
Command delete-file-user executed successfully.

See Also

You can also view the full syntax and options of the subcommand by typing asadmin help delete-file-user at the command line.