Download your favorite Linux distribution at LQ ISO.
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 05-09-2013, 02:01 PM   #1
LQ Newbie
Registered: Feb 2011
Posts: 29

Rep: Reputation: 0
can not login with regular user after installing new kernel

I installed newer kernel and I could not log into the system as a regular user after rebooting. I logged in as root and changed the password for regular user, logged out and tried logging back in as regular user but no luck.
I rebooted the system with original kernel ( previous ) also but i still could not log in as regular user. what could have changed with installing new kernel?
Old 05-09-2013, 02:34 PM   #2
Senior Member
Registered: Jul 2007
Distribution: Gentoo
Posts: 2,125

Rep: Reputation: 780Reputation: 780Reputation: 780Reputation: 780Reputation: 780Reputation: 780Reputation: 780
Originally Posted by jagdip View Post
What could have changed with installing new kernel?
Did you do something more involved than a standard update that included a new kernel image?
Things that come to mind include: missing a necessary module or part of the initram image, changes to PAM, /etc/passwd, /etc/group/, or (most importantly) /etc/shadow. Unless you somehow overwrote these files or replaced them with a package default, you should not have lost user information from an upgrade.
Old 05-23-2013, 07:15 PM   #3
LQ Newbie
Registered: Feb 2011
Posts: 29

Original Poster
Rep: Reputation: 0
Thank you folks.
Figured out why i could not login as regular user after installing new kernel.
actually, it has nothing to do with kernel upgrade.
i created /etc/nologin file which stopped all regular users from logging. i deleted the file and i was able to login


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
changing login from root to a regular user paul62 Slackware 4 10-13-2004 02:17 AM
Can't Login As Regular User After Trying... drdroid Linux - General 8 02-08-2004 11:30 AM
can't login to regular user account luchobucho Linux - General 2 10-27-2003 05:11 AM
can't login as regular user (root only) DontKnowNothing Mandriva 2 10-24-2003 01:36 PM
How do I login as a regular user? hitbob Linux - Newbie 2 10-04-2003 05:14 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:22 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