Results 1 to 4 of 4

Thread: /home folder renamed. no login possible

  1. #1
    Join Date
    Aug 2009
    Location
    Vienna
    Beans
    46
    Distro
    Ubuntu 10.04 Lucid Lynx

    Unhappy /home folder renamed. no login possible

    Hi,

    I did something extremely stupid:

    I went to system settings > user management and changed the path to the /home directory from my user.

    Now, when I try to log in I first get: "Cannot enter home directory. Using /." And then:
    "Call to lnuser failed (temporary directories full?). check your installation".

    I did not migrate the contents of my home folder before changing the path.

    Is there a way to set the /home folder path back to how it was? Is there any config file where to re-write the path back to where it was?

    [kubuntu 11.10 3.0.0.19]

    Thanks in advance!!

  2. #2
    Join Date
    Dec 2008
    Location
    43° 7' 41" 131° 54' 3"
    Beans
    Hidden!

    Re: /home folder renamed. no login possible

    EasyBCD.
    PrintersDatabase
    Boot Info Script: How to
    The post above and the post below suffer from the Rashomon effect!

  3. #3
    Join Date
    Aug 2009
    Location
    Vienna
    Beans
    46
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: /home folder renamed. no login possible

    Thanks a lot Jtarin! The article is really instructive and it helps a lot to clear things out!

    Problem is solved!

    I started in failsafe mode and typed: "usermod -d /my/new/home [username]" but it told me, [username] is already logged in...
    So, I created a passwd for the root user and logged in as root. Then I typed "startx". I went to system settings (where all begun) account management and I typed the old path to /home to [username]! Now I can log in again as [username]!

  4. #4
    Join Date
    Dec 2008
    Location
    43° 7' 41" 131° 54' 3"
    Beans
    Hidden!

    Re: /home folder renamed. no login possible

    I'm glad it was helpful......it's easier to direct your somewhere than write it out and go through three pages or more here in the forum.
    EasyBCD.
    PrintersDatabase
    Boot Info Script: How to
    The post above and the post below suffer from the Rashomon effect!

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
  •