Results 1 to 3 of 3

Thread: Home directory already exists

  1. #1
    Join Date
    May 2007
    Location
    On a Repository
    Beans
    195
    Distro
    Ubuntu Development Release

    Home directory already exists

    Hello!

    I just re-installed Ubuntu 8.04 over a formated / partition where 7.10 was. I had another partition just for /home, where I had an account for me and my wife.

    During the installation I added my account. Now, after the system is completely installed, I am trying to add her user account, with the same username as before, and I get this error:

    Code:
    Home directory already exists
    Please enter a different home directory path.
    I'm sure I did this before, but I can't remember how. Any ideas?

    Is it ok if I rename her home folder to something else, create the user, and rename back the original folder?


    Thanks for any help!
    eks

  2. #2
    Join Date
    May 2008
    Beans
    26

    Re: Home directory already exists

    Quote Originally Posted by eks View Post
    Hello!

    I just re-installed Ubuntu 8.04 over a formated / partition where 7.10 was. I had another partition just for /home, where I had an account for me and my wife.

    During the installation I added my account. Now, after the system is completely installed, I am trying to add her user account, with the same username as before, and I get this error:

    Code:
    Home directory already exists
    Please enter a different home directory path.
    I'm sure I did this before, but I can't remember how. Any ideas?

    Is it ok if I rename her home folder to something else, create the user, and rename back the original folder?


    Thanks for any help!
    eks
    I assume you're using System->Administration->Users and Groups to create the account - for whatever reason, that's what it does; it won't create the account if the home directory already exists.

    You can do this, however, using the 'useradd' command from a terminal:
    Code:
    useradd --home /home/username --shell /bin/bash username
    This will create an account named username and an initial login group by the same name. You can then go back to the Users and Groups applet and set her password, real name (if desired), and User Privileges.

    Good luck,
    Mark

  3. #3
    Join Date
    May 2007
    Location
    On a Repository
    Beans
    195
    Distro
    Ubuntu Development Release

    Re: Home directory already exists

    That was exactly the case!


    Thanks a lot!!
    eks

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •