-
Notifications
You must be signed in to change notification settings - Fork 159
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(BA-459): password based SSH login not working #3387
Conversation
@@ -55,7 +55,7 @@ if [ $USER_ID -eq 0 ]; then | |||
/opt/backend.ai/bin/python -s /opt/kernel/fantompass.py > "$HOME/.password" | |||
export ALPHA_NUMERIC_VAL=$(cat $HOME/.password) | |||
chmod 0644 "$HOME/.password" | |||
echo "work:$ALPHA_NUMERIC_VAL" | chpasswd | |||
echo "work:$ALPHA_NUMERIC_VAL" | chpasswd -c SHA512 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In the case where the issue occurred, there shouldn’t be a problem since there were no previously stored hash values, right?
In the normal operation scenario, hash values would have been stored, but changing the hashing algorithm shouldn’t cause any issues?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Co-authored-by: Kyujin Cho <[email protected]>
Resolves #3386.
Checklist: (if applicable)