Use the create-file-user subcommand in remote mode to create a new user by adding a new entry to the keyfile. The entry includes the user name, password, and any groups for the user. Multiple groups can be specified by separating the groups with colons (:).
Creating a new file realm user is a dynamic event and does not require server restart.
Ensure that the server is running.
Remote subcommands require a running server.
If the user will belong to a particular group, see the current groups by using the list-file-groups(1) subcommand.
Create a file user by using the create-file-user(1) subcommand.
This example create user Jennifer on the default realm file (no groups are specified).
asadmin> create-file-user --user admin --passwordfile=c:\tmp\asadminpassword.txt Jennifer Command create-file-user executed successfully. |
You can also view the full syntax and options of the subcommand by typing asadmin help create-file-user at the command line.