Can't log in after changing home directory

5,093

Log in as root and change it back to what it was before, by running usermod -d /home/florencia florencia.

I don't know what you were trying to do exactly, but you should generally not change your home directory like that.

Share:
5,093

Related videos on Youtube

florencia
Author by

florencia

Updated on September 18, 2022

Comments

  • florencia
    florencia over 1 year

    I logged in as root in the console and ran this : usermod -d /mirror florencia

    The folder mirror is located in /mirror

  • florencia
    florencia about 9 years
    Thank you, it worked. But what im tryng to do is share /mirror as a home directory in a cluster. Im newbie.