Skip to content
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

Make sure scale_prepare_enable_ssh_login configures the active configuration #474

Merged
merged 1 commit into from
Apr 27, 2021

Conversation

janfrode
Copy link
Member

This fixes issue #473 where enabling scale_prepare_enable_ssh_login
would cause duplicate PermitRootLogin lines if it was already configured
to something else than "yes".

Now it will replace if it find ^PermitRootLogin not set to yes, and add
"PermitRootLogin yes" if it doesn't find it.

Signed-off-by: Jan-Frode Myklebust [email protected]

…uration.

This fixes issue IBM#473 where enabling scale_prepare_enable_ssh_login
would cause duplicate PermitRootLogin lines if it was already configured
to something else than "yes".

Signed-off-by: Jan-Frode Myklebust <[email protected]>
@rajan-mis rajan-mis merged commit 067ca2b into IBM:dev Apr 27, 2021
@janfrode janfrode deleted the fix-PermitRootLogin-duplicate branch May 7, 2021 16:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

scale_prepare_enable_ssh_login adds duplicate conflicting config setting
2 participants