Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 06-14-2013, 03:40 PM   #1
Registered: Jul 2005
Posts: 117

Rep: Reputation: 15
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:

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?
Old 06-14-2013, 03:58 PM   #2
Registered: Jan 2012
Location: South Africa
Posts: 500

Rep: Reputation: 189Reputation: 189
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!


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
sftp login gives permission denied error threezerous Linux - Newbie 7 08-24-2009 11:18 AM
Permission Denied Login eluser Ubuntu 3 07-23-2007 12:36 PM
ssh login error : Permission denied, please try again powah Linux - Security 3 07-12-2007 01:32 AM
Login against active directory. Get permission denied! ZilenT-X Linux - Newbie 6 08-15-2005 05:29 AM
permission denied message at login p_test Linux - Newbie 2 10-07-2004 03:53 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:55 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration