The remote create-file-user command enables you 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 commands require a running server.
If the user will belong to a particular group, list the current file groups:
asadmin list-file-groups –user admin –passwordfile passwords.txt
Create a file user by using the create-file-user(1) command.
The following example command create user Jennifer on the default realm file (no groups are specified):
asadmin create-file-user --user admin --passwordfile=c:\tmp\asadminpassword.txt Jennifer
Information similar to the following is displayed:
Command create-file-user executed successfully.
To see the full syntax and options of the command, type asadmin create-file-user --help at the command line.