[Bug 1197996] New: Unable to login via ssh as root to the preconfigured image (PermitRootLogin without-password)
http://bugzilla.opensuse.org/show_bug.cgi?id=1197996 Bug ID: 1197996 Summary: Unable to login via ssh as root to the preconfigured image (PermitRootLogin without-password) Classification: openSUSE Product: openSUSE Leap Micro Version: 5.3 Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Base Assignee: screening-team-bugs@suse.de Reporter: lubos.kocman@suse.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- I did download the preconfigured image and followed the basic ingnition setup with defining root password "password" via preconfigured hash https://documentation.suse.com/sle-micro/5.0/single-html/SLE-Micro-installat... However I couldn't login as root on the default image due to "PermitRootLogin without-password" localhost:~ # grep -i root /etc/ssh/sshd_config PermitRootLogin without-password # the setting of "PermitRootLogin without-password". #ChrootDirectory none I feel that we need to follow SLE Micro here, otherwise people will not be able to follow SLE Micro docs. Unless they use combustion and will add they key to authorized_keys. Richard confirmed that not permitting root password login is also the default on MicroOS,therefore we most likely inherited it from the openSUSE default settings. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1197996 Lubos Kocman <lubos.kocman@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Version|5.3 |5.2 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1197996 http://bugzilla.opensuse.org/show_bug.cgi?id=1197996#c1 Lubos Kocman <lubos.kocman@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |WORKSFORME --- Comment #1 from Lubos Kocman <lubos.kocman@suse.com> --- Must have been a messup from my side lkocman:/home/lkocman/Downloads # xzcat openSUSE-Leap-Micro.aarch64-5.2.0-Default-Build150300.9.29.raw.xz | dd bs=4M of=/dev/sdb iflag=fullblock oflag=direct; sync 611+0 records in 611+0 records out 2562719744 bytes (2.6 GB, 2.4 GiB) copied, 133.304 s, 19.2 MB/s with lkocman@lkocman:~/Downloads> find /var/run/media/lkocman/ignition/ /var/run/media/lkocman/ignition/ /var/run/media/lkocman/ignition/ignition /var/run/media/lkocman/ignition/ignition/config.ign /var/run/media/lkocman/ignition/lost+found find: ���/var/run/media/lkocman/ignition/lost+found���: Permission denied lkocman@lkocman:~/Downloads> cat /var/run/media/lkocman/ignition/ignition/config.ign { "ignition": { "version": "3.1.0" }, "passwd": { "users": [ { "name": "root", "passwordHash": "O9h4s2UUtAtok" } ] } } lkocman@lkocman:~/Downloads> Worked fine PermitRootLogin was set to yes, no combustion involved. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com