LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 08-24-2003, 06:14 PM   #1
jbirtwell
LQ Newbie
 
Registered: Aug 2003
Posts: 3

Rep: Reputation: 0
Unhappy I can not login to any local users accounts, except root.


Hi,

I don't know what I did, but I can not login to any local users accounts, except root. Here's what I've done so far.

1. Killed my login manager using CTRL+ALT+F2, followed by 'init 3'
2.Logged out from XServer using 'Exit' at command prompt
3.tried logging in to a user account 'justin'

At this point I get the following message.
'No directory /home/justin! Logging in with home="/"
bash: /home/justin/.bash_profile: Permission denied'

4. I tried starting my window manager with 'startx'

I get the following message:
'Fatal server error:
Serer is already acive for display
If this serever is no longer running , remove /tmp/.xo-lock and start again.'

I'm currently running Redhat 7.3 on an i386, KDE is my default desktop, but have GNOME loaded also.

I checked the permisions for the /home and /home/justin directory and their all set to
/home drwxr-xr-x
/home/justin drwx------

Please help. Thanks,
Justin
 
Old 08-24-2003, 09:08 PM   #2
darthtux
Senior Member
 
Registered: Dec 2001
Location: 35.7480 N, 95.3690 W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070

Rep: Reputation: 45
ctrl+alt+f2 put you into a different virtual terminal. typing exit there logs you out of that terminal. X is still running on f1. To get back to it ctrl+alt+f7

What does the line say for the user justin in /etc/password?
 
Old 08-24-2003, 11:58 PM   #3
quest4knowledge
Member
 
Registered: Aug 2003
Distribution: gentoo
Posts: 62

Rep: Reputation: 15
from the error sounds like you might have deleted your home directory(/home/justin) or maybe the entire /home directory.

Make sure those are there.

If they are not there then an easy way to replace it would be typing this(as root):

userdel justin
useradd -m justin
passwd justin
 
Old 08-25-2003, 06:15 AM   #4
jbirtwell
LQ Newbie
 
Registered: Aug 2003
Posts: 3

Original Poster
Rep: Reputation: 0
Hi,

Yes /home/justin exists.

And the password is correct, b/c if I type in a wrong password Linux will let me know.

Justin
 
Old 08-25-2003, 10:21 AM   #5
MacKtheHacK
Member
 
Registered: Jul 2003
Location: Boston, MA, USA
Distribution: RedHat, SuSE, Gentoo, Slackware, Mandrake ...
Posts: 111

Rep: Reputation: 15
What user is the owner of /home/justin? If it isn't "justin", then he's not going to be able to change to that directory during the login. That would explain the "directory not found" message.
 
Old 08-25-2003, 10:23 AM   #6
jspenguin
Member
 
Registered: Feb 2003
Location: Wichita, KS
Distribution: Heavily modified Redhat
Posts: 194

Rep: Reputation: 30
Are the permissions correct for /home and /home/justin? Try:

cd /; ls -ld home
It should say something like:

drwxr-xr-x root root 4096 home

Then do:

cd home; ls -l
It should say something like:
drwx------ justin justin 4096 justin

If you don't have execute permissions for /home and /home/justin, then you can't enter them.
 
Old 08-25-2003, 03:22 PM   #7
jbirtwell
LQ Newbie
 
Registered: Aug 2003
Posts: 3

Original Poster
Rep: Reputation: 0
The permissions for HOME are
drwxrwxrwx root root

and for /HOME/JUSTIN
drwxrwxrwx justin justin

Even if I create a new user I still get the problem.
 
Old 08-25-2003, 03:33 PM   #8
Blinker_Fluid
Member
 
Registered: Jul 2003
Location: Clinging to my guns and religion.
Posts: 682

Rep: Reputation: 63
can you su to justin? (su - justin)
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to Login to XSession with non root users freedo5 Red Hat 6 01-12-2007 02:34 AM
FTP Server Up and running... how do I hide ftp users from local login screen? joe1031 Mandriva 2 03-18-2005 04:24 PM
Other users can't login except root octino Linux - Newbie 19 11-07-2004 10:52 PM
local root can access nis users??? pao Linux - Security 1 07-29-2004 01:06 AM
Users other than root cannot login? cyberswami Linux - Newbie 8 07-07-2003 08:21 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration