Elastifile allows admin to create new admin, provisioner or viewer users and to do that you can use the CLI in following manner :
- Login to the EMS by SSH
- Run the following command
elfs-cli role list
This will show you the various role-ids that can be used in the following command as a role-ids paramenter
accordingly :
- Create Admin user : Run the following command
elfs-cli user create --login $USERNAME --email $USER_EMAIL --admin --password=$PASSWORD --password-confirmation=$PASSWORD
- Create Viewer/Read Only user : Run the following command
elfs-cli user create --login $USERNAME --email $USER_EMAIL --no-admin --password $PASSWORD --password-confirmation $PASSWORD --role-ids 1
- Create Provisioner user : Run the following command
elfs-cli user create --login $USERNAME --email $USER_EMAIL --no-admin --password $PASSWORD --password-confirmation $PASSWORD --role-ids 2
Reference :
$USERNAME : username of the new user
$USER_EMAIL : email of the new user
$PASSWORD : password of the user
Please contact Google Elastifile support at https://support.elastifile.com if you need any further help.