Please can someone assist me on this, I enabled Selinux on Ubuntu 14.04 server and it's disabling ssh remote login for all users including root.
From the ssh terminal I get the following error:
Last login: Wed Mar 25 12:39:02 2015 from 192.168.x.x
/bin/bash: Permission denied
Connection to 192.168.211.135 closed.
ubuntu sshd: Accepted password for root from 192.168.x.x port 51082 ssh2
ubuntu sshd: Accepted password for root from 192.168.x.x port 51089 ssh2
ubunt sshd: Received disconnect from 192.168.x.x: disconnected by user
This avc is a constraint violation. you would need to modify the attribute of either the source or target types to allow this access.
possible cause is the source user (system_u) and target user (unconfined_u) are different.
possible cause is the source role (system_r) and target role (unconfined_r) are different.
possible cause is the source level (s0) and target level (s0-s0:c0.c255) are different.
allow sshd_t unconfined_t
Please how can I make this changes to take effect.
Thanks in advance.