Author Topic: Users lost connection to the home folder at last upgrade  (Read 892 times)

Imagineer66

  • Zen Apprentice
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
Users lost connection to the home folder at last upgrade
« on: March 29, 2017, 11:59:59 pm »
We are using Zentyal v4.1.  Last week when we did an system update, the linux uid for several users were changed.  This broke logins and file access. After much internal debate about how best to deal with the problem.  I fixed the file access issue with "find . -uid oldXXX -exec chown -u newXXX {} /".  After this the users were now able to login but lost their connection to the /home/$USER directory.  Yes, the home directory now has the updated owner uid and permissions.  Also, some users had their directories duplicate but with the username capitalized, e.g. /home/mark became /home/Mark.  They can login but just get the generic $ prompt and no bash or profile settings.

What's weird is that this didn't happen to all of the users who have both types of logins.

How do I restore the pointers to the home directories?

Thank you,
Mark