LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 06-14-2013, 03:40 PM   #1
sysbox
Member
 
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:

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

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


Reply


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


All times are GMT -5. The time now is 08:18 AM.

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