LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices

Reply
 
Search this Thread
Old 02-15-2009, 10:26 PM   #1
Daravon
Member
 
Registered: Mar 2006
Posts: 166

Rep: Reputation: 15
"Home directory already exists. Please enter another home directory path."


I just installed Intrepid 64bit to a new partition in order to try it out before switching over from hardy.

When installing, I told the installer to import my settings from both chaz and jami, the user accounts from my hardy install. However, when logging into the new system, the user "jami" does not exist and cannot log in. I go to system->users and groups and add a user, but when I enter "jami" as the new user, it gives me this popup that says 'home directory already exists. Please enter another home directory'.

I don't want a new user with a new home directory, I want to enable my wife to have her own user account and use her existing home directory like in my old install. This should be straightforeward. I had thought that the 'import settings' wizard in the installer would have done that already, so I'm confused. What should I do?
 
Old 02-15-2009, 10:50 PM   #2
paulsm4
Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Hi -

You have several choices:

1. You can use the command-line "useradd" instead of the GUI (the GUI is the guy who's complicating your life here)

2. You can simply:
a) rename the original directory
b) (re)create the user (using the GUI)
c) copy everything from the original directory into the new directory

Either way, you should be up and running in minutes :-)

'Hope that helps .. PSM
 
Old 02-15-2009, 11:26 PM   #3
Daravon
Member
 
Registered: Mar 2006
Posts: 166

Original Poster
Rep: Reputation: 15
I was able to solve the problem by running, if i remember it right,
Code:
sudo useradd -d /home/jami jami
 
  


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
NFS problem: "Could not chdir to home directory /home/USER: Permission denied" sumanc Linux - Server 4 07-22-2010 05:12 PM
cant login. "no directory /home/chris!" qwijibow Linux - Newbie 5 02-26-2009 01:58 PM
permissions of my /home/"user" directory error darkleaf Linux - Software 10 09-26-2004 03:08 AM
Does anyone know the origin of using "~" to represent the user's home directory? GonzoJohn General 6 10-14-2003 04:42 PM
RH9 NIS login error: "home directory does not exist" airrr Linux - Networking 2 08-06-2003 02:47 PM


All times are GMT -5. The time now is 09:34 PM.

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