LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices

Reply
 
Search this Thread
Old 03-14-2004, 09:59 AM   #1
orranview
LQ Newbie
 
Registered: Jan 2004
Location: Hong Kong SAR China
Distribution: Red hat
Posts: 18

Rep: Reputation: 0
Home directory missing! cannot log-in?


Hello All, I have really messed it up! Earlier to-day I installed JVM
but I have lost my home directory it appears to be missing. When
I log in it will not go past the log in window the message asks me if
I want to use the fail safe session and regardless what I answer
it just returns to log-in. I did move the file from my home directory to
usr/java directory but I must have made a mistake because the home
directory is missing. Please help Thanks and regards Mike C.
 
Old 03-14-2004, 11:33 AM   #2
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 199Reputation: 199
If you can boot up into single mode, etc, just recreate the /home directory for your user. You might not have all your settings or preferences but you can just resave those when your using the apps, etc.
 
Old 03-14-2004, 11:35 AM   #3
RobertP
Member
 
Registered: Jan 2004
Location: Manitoba, Canada
Distribution: Debian
Posts: 453

Rep: Reputation: 32
Are you using a graphical login?
Try text mode with ctrl-alt-F2
root
rootpassword
ls / should show whether /home has gone
mkdir /home
mkdir /home/you
chown you:you /home/you
might help until you get things put back. Likely you dragged /home into /usr ...
Find your old /home and put it back...
 
Old 03-15-2004, 07:15 AM   #4
orranview
LQ Newbie
 
Registered: Jan 2004
Location: Hong Kong SAR China
Distribution: Red hat
Posts: 18

Original Poster
Rep: Reputation: 0
Hello trickykid and RobertP, Thanks for the quick responses, I will try
them out, at least you have given me a method for sorting out the
problem while I was still scratching my head. Thanks again for all
your support. a definite Newbie, by making mistakes I am learning.
Regards Mike C.
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache Root/Home Directory and setting up FTP for home directories? Mankind75 Linux - Newbie 6 07-23-2006 03:37 PM
Cant log on to home user aikempshall Slackware 1 05-12-2004 12:16 PM
home directories missing after upgrade to 2.4.26 eger Linux - Software 2 05-03-2004 07:11 PM
missing html files in my home directory scottsteib Linux - Newbie 0 07-29-2003 10:13 AM
Non-root users can log in to SSH but not read Home Directory? Bizanshee Linux - Software 1 09-18-2002 08:01 PM


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