LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 02-04-2016, 05:54 PM   #1
triley555
LQ Newbie
 
Registered: Feb 2016
Posts: 3

Rep: Reputation: Disabled
CentOS 7 - users unable to login, root can login to GUI


I'm new to Linux so forgive me if this is easy.

An end-user brought me a CentOS 7 machine today that had been used by one of his contractors. Apparently, no user but root can login to the GUI. Regular users cannot. After entering the users' password, the system grinds for a few seconds, then simply returns to the login prompt. I logged in as root and created a new user and the same thing happens. No one but root can login. I looked in "messages" and /var/log but nothing is jumping out at me as to why this is happening.

Can someone point me in the right direction?

Thank you for any information you can provide.
 
Old 02-04-2016, 05:57 PM   #2
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Welcome to LQ!

Login as root and check the permissions on /home/ with
Code:
ls -al /home
and
Code:
stat --printf "a %n \n" /home/*
and post the results here.

Erm, that may not "help" since new users have the same issue...
Curious, but I don't have an immediate clue, or answer.

Does /var/log/secure show anything obvious?

Can users login from the console?

Last edited by Habitual; 02-04-2016 at 06:01 PM.
 
Old 02-04-2016, 05:59 PM   #3
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573

Rep: Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142
Can you log in on a TTY as a regular user? Use Ctrl+Alt+F2 to switch to it. You can use Ctrl+Alt+F1 to switch back to X.
 
Old 02-04-2016, 06:00 PM   #4
triley555
LQ Newbie
 
Registered: Feb 2016
Posts: 3

Original Poster
Rep: Reputation: Disabled
I will check those when I get to work tomorrow a.m. and post the results. Thank you for your suggestions.
 
Old 02-04-2016, 06:31 PM   #5
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
We'll be here and your users aren't going anywhere?
 
Old 02-04-2016, 08:33 PM   #6
MrTux
Member
 
Registered: Dec 2015
Posts: 131

Rep: Reputation: Disabled
Seems like a troll changed your default runlevel to number 1 or single.

go do systemctl get-default

Last edited by MrTux; 02-04-2016 at 08:35 PM.
 
1 members found this post helpful.
  


Reply



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
unable to login any user through the console but users can login in GUI p kumar Linux - Server 1 04-19-2012 06:09 AM
[SOLVED] How to login as root to GUI of CentOS 5.3? k_oudom Linux - Software 6 09-14-2009 08:03 AM
root and users unable to login in command mode- RHEL 4 pragabalu Red Hat 1 07-25-2009 09:22 AM
root and users unable to login in command mode- RHEL 4 pragabalu Linux - General 1 07-25-2009 01:14 AM
Unable to Login to XSession with non root users freedo5 Red Hat 6 01-12-2007 02:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:44 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
Open Source Consulting | Domain Registration