Description of problem: Shellinabox fails to login users when selinux is enforced. This happens: #!!!! 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; There seems to be selinux module shellinabox creators provide: https://github.com/shellinabox/shellinabox/tree/master/misc/selinux/shellinabox which I tried and it seems to work. I'd imagine simple fix would be for an selinux expert to look at it and if good just include it with rpm package. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info: