LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 07-10-2011, 03:55 PM   #1
trwu
LQ Newbie
 
Registered: Jul 2011
Posts: 3

Rep: Reputation: Disabled
Unhappy New user can not login and wait for a long time


Hi all,

I created a new user on my linux besides root user, but at every time I tried to logon by the new user, a significant long time(10 mins) was there for the logon process, and after that the system came back to logon user screen again. (Neither prompting password error nor other error messages)
I tried to add another two user by X-window or shell respectively, the same for the two new users. Now, my system have only root user which can login normally.

I don't know what's going wrong, could you please advise me how to determine the problem?
 
Old 07-10-2011, 04:25 PM   #2
ButterflyMelissa
Senior Member
 
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,766
Blog Entries: 23

Rep: Reputation: 411Reputation: 411Reputation: 411Reputation: 411Reputation: 411
Okay, here's what I would do: set the system in init 3, boot up and try to log in using the console/text mode. Look at the feedback...
By the way, I see the thing7 logo...you are aware Linux is CaSeSensiTiVe?

10 minutes??? Wow, that is long. What's the delay for the root at login?

How is the user set up? What environment settings? Maybe the system is looking for the needed stuff (shell, folder,...) , does'nt find it and pops the login right back...

Just some lose thoughts....

Thor
 
Old 07-11-2011, 12:05 AM   #3
trwu
LQ Newbie
 
Registered: Jul 2011
Posts: 3

Original Poster
Rep: Reputation: Disabled
Thanks for your response.

I've already set to init 3, and tried to login from text mode, the thing was same as X windows, wait for 10 mins and came back to login screen again.

For the root user, the login was quite normal, I could login to the system and see to the root prompt as soon as I input the password.
 
Old 07-11-2011, 02:13 AM   #4
ButterflyMelissa
Senior Member
 
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,766
Blog Entries: 23

Rep: Reputation: 411Reputation: 411Reputation: 411Reputation: 411Reputation: 411
Okay, so there are no messages saying anything, no clues...hmm.

Well, I'd log in as root and look at the account in question to see if there's anything "fishy" going on...like stuff it goes not find. Also, look at the faillog:

Quote:
faillog -a
as root to see if the login did fail...it looks as if it did...but, did it?
 
Old 07-11-2011, 02:48 AM   #5
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
How is the setup?
Are there mounted disks, NFS disks?
Where is /home located?
Do you have enough space?
Did you setup quota for the user?

Kind regards
 
Old 07-12-2011, 02:24 AM   #6
trwu
LQ Newbie
 
Registered: Jul 2011
Posts: 3

Original Poster
Rep: Reputation: Disabled
Hi Thor and repo,

Thanks for your help, here is the answer of the questions. Now the new user can logon(I didn't change anything), but the waiting time was still long, for about 10 mins, that is when I entered the user password, I need to wait for 10 mins to see the user prompt.

faillog -a: no fail information

How is the setup?
I just added the user by X window and useradd commands, to create two more users besides root, but can not login.

Are there mounted disks, NFS disks?
No mount disks and MFS disks. The environment is simple, VM running on windows 7 on local machine, now external storage. There're 3 disks, dev/sda, sda1 and sda2.

Where is /home located?
local disk.

Do you have enough space?
Yes.

Did you setup quota for the user?
Not yet, just use the adduser command.
 
Old 07-12-2011, 10:29 AM   #7
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,635

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Hmm...how does the system-wide profile look (/etc/profile), and the users individual .bashrc and/or .profile files?? Are they trying to run any commands that may be locking up/restarting?
 
  


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
local user login takes very long time if ldap server not available guna_pmk Linux - Server 2 03-18-2011 09:26 AM
how to understand user time, sys time, wait time, idle time of CPU guixingyi Linux - Server 1 08-24-2010 10:10 AM
Very long wait time between searches colucix LQ Suggestions & Feedback 7 07-04-2008 02:05 PM
long wait time for df after mounting usb hd beanerjo Linux - Hardware 7 11-13-2007 07:25 AM
unusually long wait time for mutex gecoool Programming 1 11-15-2005 10:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

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