LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 11-30-2003, 10:32 AM   #1
jmelton
LQ Newbie
 
Registered: Nov 2003
Posts: 2

Rep: Reputation: 0
login error: home directory supposedly doesn't exist


I use Mandrake 9.0 and Libranet and the latter has worked fine until this morning, but now every time I try to log in, I get a popup that says "Your home directory is listed as /home/myusername but it does not appear to exist. Do you want to log in with the root dir as your home dir? It is unlikely anything will work unless you use a failsafe option". I have googled this error message or parts of it and found absolutely nothing that seems very relevant or helpful. The only thing that is different about Libranet from the last time I booted it is I copied over some directories from my Mandrake partition into my home directory (/home/jmelton) -- the one that the login screen error message says doesn't exist!

But I get the same error message regardless of which user I log in as, except root. I even tried creating a new user and then trying to log in as that user, and got the same error message. Anyone have any idea what I should do, short of reinstalling Libranet?[/i]
 
Old 11-30-2003, 10:55 AM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 64
Welcome to LQ.

It sounds lie a permissions problem. Can you post the output of:
ls -la /home
 
Old 11-30-2003, 12:09 PM   #3
jmelton
LQ Newbie
 
Registered: Nov 2003
Posts: 2

Original Poster
Rep: Reputation: 0
ls -al /home shows:

drwxrwxr-x 6 root jmelton 120 Nov 30 12:35 .
drwxr-xr-x 22 root root 504 Nov 30 12:19 ..
drwxr-xr-x 11 jeff jeff 576 Nov 30 12:37 jeff
drwxr-xr-x 30 jmelton jmelton 1480 Nov 30 12:32 jmelton
drwxr-xr-x 12 root root 632 Oct 20 04:19 rebecca

I actually suspected that it might be a permissions problem and have been fiddling around with that some. Before, for some reason, /home itself had 501 listed for both owner and group. I have no idea why; every other main directory was owned by root, which is the way it is in my Mandrake distribution.
Also curious is that user rebecca is owned by root instead of herself, but that isn't the problem here since none of the users can log in.
 
Old 11-30-2003, 12:42 PM   #4
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 64
Try this:
chown root:root /home
chown -R jmelton:jmelton /home/jmelton

Then try to login as the user "jmelton".
 
  


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
cant login. "no directory /home/chris!" qwijibow Linux - Newbie 5 02-26-2009 12:58 PM
can't write to home directory error bond82 Mandriva 5 06-06-2007 02:11 PM
Apache Root/Home Directory and setting up FTP for home directories? Mankind75 Linux - Newbie 6 07-23-2006 02:37 PM
apache directory does not exist Smokey Slackware 5 08-25-2004 08:06 AM
RH9 NIS login error: "home directory does not exist" airrr Linux - Networking 2 08-06-2003 01:47 PM


All times are GMT -5. The time now is 08:54 PM.

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