Azure / Azure/azure-linux-extensions

Password reset from Azure Portal, doesn't work on Suse when ssh restart is needed

Open
#1,626 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
333
Forks
278
Avg merge
2d 9h
Merged PRs (30d)
4

Description

If you get a VM that has SLES on it, if (for example) you create with a user that uses ssh certificate, and then execute a password reset that uses password, the ssh config will get patched to include password auth, and then fails when tries to restart the ssh service. For this reason, the password reset will not work.
The cause is that it's miss detecting the distribution and using "ssh" as the name of the service to be restarted, and not "sshd" like it should be on Suse.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the password-reset flow's Linux distribution and SSH-service detection; no file or test is named in the issue. Verify the SLES path selects sshd rather than ssh and that a password reset requiring an SSH restart completes successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, python
Domain
authentication, cloud, operating-systems
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.