On Wed, 1 Mar 2023 14:05:00 +0100
DL3VL <[email protected]> wrote:
> sshd_config says: root access is allowed and
>
> https://en.opensuse.org/HCL:BananaPi_M2_Zero
>
> says: root ps is "linux".
>
> This doesn't work, even changing pw entry to empty in /etc/shadow doesn't
> give me access.
>
> What I am missing?
>
> Apparmor? (I am not familiar with this)
Have you checked /etc/ssh/sshd_config for the PermitRootLogin setting?
From the man page sshd_config(5):
PermitRootLogin
Specifies whether root can log in using ssh(1). The argument must
be yes, prohibit-password, forced-commands-only,
or no. The default is yes.
If this option is set to prohibit-password (or its deprecated
alias, without-password), password and keyboard-in-
teractive authentication are disabled for root.
My bet is it is set to "prohibit-password".
HTH,
Torsten