On Thu, 4 Jan 2018 15:19:51 +0100 =?UTF-8?B?UmFtw7NuIEdhcmPDrWE=?= wrote:
> The fix was, edit /etc/selinux/[selinux config]/contexts/default_contexts.
> Copy the line for system_r:sshd_t and change it by sshd_t by init_t.
>
> pam_selinux can't find a correct context because there is no context
> available, coming from from init_t to the new user.

I have run into this and came to the same conclusion -- however when I make the change you describe it doesn't seem to be picked up. Is there a missing step beyond editing the file?

Reply via email to