LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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, 09:26 PM   #1
Daravon
Member
 
Registered: Mar 2006
Posts: 170

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, 09:50 PM   #2
paulsm4
LQ 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, 10:26 PM   #3
Daravon
Member
 
Registered: Mar 2006
Posts: 170

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



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 10:31 AM.

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
Open Source Consulting | Domain Registration