Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

reset password #172

Closed
codonAG opened this issue May 26, 2021 · 2 comments
Closed

reset password #172

codonAG opened this issue May 26, 2021 · 2 comments

Comments

@codonAG
Copy link

codonAG commented May 26, 2021

Hi,

the password of usermanaged user expired. Now I can't login.
How can I reset the password of the user?

Best Regards
Christian

@rkrenn
Copy link
Collaborator

rkrenn commented May 26, 2021

for now it is easiest to create a temporary user (with local authentication), and then use it to change the expired user's password.

so to create such temporary "phoenix1" user (with priviledge to set passwords), log in to the phoenix VM console and run below command (taken from install.sh):

sudo -u ctsms /ctsms/dbtool.sh -cu -dlk <MY_DEPARTMENT> -dp <DEPARTMENT_PASSWORD> -u "phoenix1" -p <USER_PASSWORD> -pp "INVENTORY_MASTER_ALL_DEPARTMENTS,STAFF_MASTER_ALL_DEPARTMENTS,COURSE_MASTER_ALL_DEPARTMENTS,TRIAL_MASTER_ALL_DEPARTMENTS,PROBAND_MASTER_ALL_DEPARTMENTS,USER_ALL_DEPARTMENTS,INPUT_FIELD_MASTER,MASS_MAIL_MASTER_ALL_DEPARTMENTS,INVENTORY_MASTER_SEARCH,STAFF_MASTER_SEARCH,COURSE_MASTER_SEARCH,TRIAL_MASTER_SEARCH,PROBAND_MASTER_SEARCH,USER_MASTER_SEARCH,INPUT_FIELD_MASTER_SEARCH,MASS_MAIL_MASTER_SEARCH"
  • <MY_DEPARTMENT> : your department name (ie. "my_department")
  • <DEPARTMENT_PASSWORD> : the passphrase of yourdepartment, see last line of /home/phoenix/install.log
  • <USER_PASSWORD> : the password of your new "phoenix1" user

there is also an interactive form of the command:

sudo -u ctsms /ctsms/dbtool.sh --create_user_interactive

after logging into the webUI with the phoenix1 user, search&open your expired user, and set a fresh password.

@codonAG
Copy link
Author

codonAG commented May 26, 2021

It works fine.
Thank you for your quick repsonse.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants