[CentOS] shellinabox

Fri Jul 6 11:32:26 UTC 2018
Oleg Cherkasov <o1e9.cherkasov at yandex.com>

On 05. juli 2018 16:08, lejeczek via CentOS wrote:
> hi guys,
> 
> shellinabox, do you use it?
> 
> I in pretty vanilla setup get selinux denials and cannot login.
> 
> Selinux says:
> 
> #============= unconfined_service_t ==============
> 
> #!!!! The file '/usr/bin/bash' is mislabeled on your system.
> #!!!! Fix with $ restorecon -R -v /usr/bin/bash
> allow unconfined_service_t unconfined_t:process transition;
> 

audit2allow suggests to make a new module or restore /usr/bin/bash type 
context.  Try to restore context first, in many cases it helps on 
"vanilla" setup.