Use the update-file-user subcommand in remote mode to modify the information in the keyfile for a specified user.
Ensure that the server is running.
Remote subcommands require a running server.
Update the user information by using the update-file-user(1) subcommand.
To apply your changes, restart GlassFish Server.
See To Restart a Domain.
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. |
You can also view the full syntax and options of the subcommand by typing asadmin help update-file-user at the command line.