Oracle GlassFish Server Reference Manual Release 3.1.2 Part Number E24938-01 |
|
|
View PDF |
updates a current file user as specified
update-file-user [--help] [--groups user_groups[:user_groups]*] [--target target [--authrealmname authrealm_name] username
Th update-file-user
subcommand updates an existing entry in the keyfile using the specified user name, password and groups. Multiple groups can be entered by separating them, with a colon (:).
If a new password is not provided, this subcommand fails if secure administration is enabled and the user being updated is an administrative user.
--help
-?
Displays the help text for the subcommand.
--groups
This is the name of the group to which the file user belongs.
--authrealmname
Name of the authentication realm where the user to be updated can be found.
--target
This option helps specify the target on which you are updating a file user. Valid values are:
server
Updates the file user in the default server instance. This is the default value.
Updates the file user on every server instance in the cluster.
Updates the file user on a specified sever instance.
This is the name of the file user to be updated.
The following example updates information for a file realm user named sample_user
.
asadmin> update-file-user --groups staff:manager:engineer sample_user Command update-file-user executed successfully
subcommand executed successfully
error in executing the subcommand
delete-file-user(1), list-file-users(1), create-file-user(1), list-file-groups(1)