LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   login: no shell: permission denied (https://www.linuxquestions.org/questions/linux-newbie-8/login-no-shell-permission-denied-4175466052/)

sysbox 06-14-2013 02:40 PM

login: no shell: permission denied
 
My laptop has several CentOS Linux partitions. When I boot into one of them and try to login (I set runlevel to 3 in /etc/inittab because the GNOME login was failing) I get this error:

Quote:

login: no shell: permission denied
This happens when I try to login as root, or any user. I can't do anything if I can't login. However, I can login to a different partition, and mount the problematic partition, and change this (like runlevel in /etc/initab).

Any ideas on what is causing this (selinux?) and how to fix it?

cliffordw 06-14-2013 02:58 PM

Hi there,

I haven't seen this myself, but a quick google seems to indicate this could be caused by selinux. Try looking at the advise in the following articles:
Good luck!


All times are GMT -5. The time now is 04:51 PM.