Oracle GlassFish Server 3.0.1 Administration Guide

ProcedureTo Update a File User

Use the update-file-user subcommand in remote mode to modify the information in the keyfile for a specified user.

  1. Ensure that the server is running.

    Remote subcommands require a running server.

  2. Update the user information by using the update-file-user(1) subcommand.

  3. To apply your changes, restart GlassFish Server.

    See To Restart a Domain.

Example 12–8 Updating a User

The following subcommand updates the groups for user Jennifer.

asadmin> update-file-user --passwordfile c:\tmp\asadminpassword.txt --groups 
staff:manager:engineer Jennifer
Command update-file-user executed successfully.

See Also

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