action #43703
closed
[functional][u] openssh: test needs to use key-based login for root
Added by dimstar over 5 years ago.
Updated over 5 years ago.
Category:
Bugs in existing tests
Target version:
SUSE QA - Milestone 22
Description
Motivation¶
This is a change needed in order to be able to update to openssh 7.9, based on sr
https://build.opensuse.org/request/show/645637
The submit request changes the default configuration of openssh for user root to only permit keybased auth, no longer password auth (as per upstream default).
This breaks the assumptions done in our openQA tests, where at least two tests rely on root/password combo for ssh.
Suggestions¶
- A member from QSF-u should be test module maintainer and update the test module
The identified tests, so far, are:
both should switch the logic to be root/keybased auth. As an addition for completion, a test user/password might be added in plus
- Category set to Bugs in existing tests
- Assignee set to coolo
@coolo, as you are the test module maintainer, do you want to adapt the test module or rely on QSF-u?
- Subject changed from openssh: test needs to use key-based login for root to [functional][u] openssh: test needs to use key-based login for root
- Description updated (diff)
- Status changed from New to Workable
- Assignee deleted (
coolo)
- Target version set to Milestone 22
- Assignee deleted (
dheidler)
@dheidler, thank you for taking this. Please keep the effort as small as possible to fix the current failures in the test. I created #44147 for all further testing extension ideas.
- Description updated (diff)
The rsync test already has its unique way of dealing with this issue:
assert_script_run("sed -i 's/#PermitRootLogin prohibit-password/PermitRootLogin yes/g' /etc/ssh/sshd_config");
- Status changed from Workable to In Progress
dheidler wrote:
The rsync test already has its unique way of dealing with this issue:
I guess we can do better than this :)
- Status changed from In Progress to Feedback
- Related to action #44399: [easy][beginner] Fix assert_script_sudo and script_sudo being called as root added
thank you for even commenting in the SR directly :)
- Status changed from Feedback to Resolved
- Related to action #45053: Test installation over ssh as root on Tumbleweed with latest update forbidding root-password login added
Also available in: Atom
PDF