Support for $HOME not in /home
I know the usual configuration is that $HOME for $USER is /home/$USER, but sometimes there are reasons to put home directories on a filesystem that is neither root nor dedicated exclusively to home directories. This gives rise to home directories with names like /m/home/fred instead of /home/fred, for example. Is it better to define the user so that $HOME points to this path (with adduser or moduser or ?), or to make a symbolic link from /home/fred to /m/home/fred and make $HOME=/home/fred, or to use bind mount to bind /m/home/fred to /home/fred? Are any of these supported in the sense that testing makes some attempt to check that minor updates do not break things like, for example, AppArmor profiles for LibreOffice suddenly making LibreOffice totally nonfunctional if $HOME is not in /home?
I think I am mainly looking for guidance as to which is the way to have the least problems if I have to have some home directories whose real name is not of the form /home/name: bind mounts, symbolic links, or something else.
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Paul Perkins for more information if necessary.