Reset user passwords
For an existing Alfabet user logging in via standard login, a user password can be initially assigned or changed via the command line. If the user already has a password assigned, the administrator has to know the password to run the command line.
After having run the command line, the user administrator will know the user password. It is recommended that you select the Change Password checkbox in the User editor in the User Management functionality of the connected server alias for the user to force the user to change the password set via the command line after first login.
For an existing Alfabet user, the password for standard login can be set or changed via the following command line:
- AlfaAdministratorConsole.exe -msalias <alias name> -alfaLoginName <Alfabet user name> -alfaLoginPassword <password> -db_setuserpassword -UserName <Alfabet user name> -CurrentPassword <current user password> -NewPassword <new user password> -RepeatNewPassword <new user password>
The table below displays the command line options:
Command Line Option | Mandatory/ Default | Explanation |
---|---|---|
-db_setuserpassword | Mandatory | To change the password for an existing Alfabet user:
|
-msalias <alias name> | Mandatory | Enter the server alias name as specified in the AlfabetMS.xml configuration file for access to the database. |
-msaliasesfile <Alfabet configuration file path> | Optional | If the AlfabetMS.xml configuration file that contains the specification of the alias is not located in the same directory as the executable, the path to the AlfabetMS.xml file must be specified with this parameter. |
-alfaLoginName <Alfabet user name> | Mandatory | Alfabet user name for login.
A user can only execute a batch job if the Can Execute Batch Jobs checkbox is selected (=True) for the user. |
-alfaLoginPassword <password> | Optional | Password of the Alfabet user defined with -alfaLoginName. |
-UserName <Alfabet user name> | Mandatory | Specify the user name for access to the Alfabet database on the database server. |
-CurrentPassword <current user password> | Mandatory | Specify the current password of the Alfabet user. If the user do not have a password assigned, the parameter must be added to the command line without beeing followed by a user password. |
-NewPassword <new password> | Mandatory | Specify the new password of the Alfabet user. |
-RepeatNewPassword <new password> | Mandatory | Specify the new password of the Alfabet user. |