I'm modifying the
$HOME variable on a
/etc/profile.d script. This seems to be OK for console sessions.
There are some caveats on graphical sessions, though: Gnome won't load my desktop configuration, it will still use the HOME defined on the
passwd. Bizarre enough, If I open a terminal, the
$HOME variable is the one defined by me on the
I'm doing this because I'm rsyncing the home against a NFS server, and I want to provide an alternative login method by mounting the NFS home directly, for occasional logins. Since at this stage root has already created the home directory, my plan is to link the NFS mount inside it, and modify the