Re: SSH issue : ssh_selinux_copy_context: setcon failed with Invalid argument

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 03/19/2013 09:57 AM, Dominick Grift wrote:
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?
Yes, how does this file look?

Also what does

# rpm -q selinux-policy

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@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/selinux

--
selinux mailing list
selinux@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/selinux

--
selinux mailing list
selinux@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/selinux



[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux