SSH issue : ssh_selinux_copy_context: setcon failed with Invalid argument

Dominick Grift dominick.grift at gmail.com
Tue Mar 19 08:57:14 UTC 2013


On Tue, 2013-03-19 at 07:19 +0000, Anamitra Dutta Majumdar (anmajumd)
wrote:
> When trying to perform an sftp operation we encounter a failure even in
> permissive mode. The syslogs during the failure are as follows

> Is this a known issue?
> 
> Thanks,
> Anamitra
> 

This seems to be a default_context/pam issue.

Pam and SSH are not able to determine the login context for your user it
seems.

Did you create a /etc/selinux/targeted/context/users/specialuser_u file
with the appropriate default contexts?

On a slightly unrelated note:

It seems that the chroot/sftp functionality is broken.

One no longer logs in as chroot_user_t. Either this has changed or its
broken.

If it has changed then why is there still policy for chroot_user_t? 

> 
> 
> 
> 
> --
> selinux mailing list
> selinux at lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/selinux




More information about the selinux mailing list