Red HatThis forum is for the discussion of Red Hat Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
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...
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?
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.
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?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.