Bug#874191: Correction

2019-04-16 Thread Patrick Grant

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?




Bug#874191: Correction

2018-01-04 Thread Ramón García
I was wrong.

After rebooting, gnome-terminal was still under
system_u:system_r:initrc_t context.

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.