Skip to content
Discussion options

You must be logged in to vote

1、If my admin user forgets the password, how can I recover the password or recreate the user?

If you already have another user with admin permission on SOCA, you can reset someone's else password via https://awslabs.github.io/scale-out-computing-on-aws/web-interface/manage-ldap-users/#reset-password-for-a-given-user

If you do not have any other admin user, you can update the password for your user via CLI. Login to the Scheduler host either via SSH or SSM, then sudo as root user.

Run the following commands:

source /etc/environment
curl --silent -k -H "X-SOCA-TOKEN: $(cat /apps/soca/<SOCA_ENV>/cluster_web_ui/keys/admin_api_key.txt)" \
 --data-urlencode "user=<USERNAME>" \
 --data-urlencode…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@wbadyx
Comment options

Answer selected by mcrozes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants