John Hodrien writes:
On Mon, 1 Feb 2016, Magnus Therning wrote:
>
> I've just come across SSSD and have managed to set it up for use against
> our LDAP server. Yay!
>
> We have LDAP set up for user and group management, and all users' homes
> live on an NFS share. This is fine for me most of the time, except for
> on the machine where I do development; I really don't like to run the
> compiler against files on NFS!
>
> I see three options
>
> 1. Use a local user, with a local $HOME, for development.
> 2. Create a local dir on the dev machine and use it for all development.
> 3. Give the LDAP user a local $HOME on the dev machine.
>
> I looked into 3 a bit and found `override_homedir`. It works fine, but
> then *all* users on the dev machine get a local $HOME. Is it possible to
> override $HOME for a specific user only?
You don't want to override home; you want option #2. Keep your home directory
on NFS, and keep it backed up and consistent between multiple machines. Do
development on unbacked up local disk, and commit changes to git/svn repos.
I have to think a bit about it, and try it out before I decide I think.
My dev machine at work has more in common with my home machine, than with other
machines at work. On my dev machine I run an up-to-date Archlinux and the OS for
the other machines at work is Ubuntu 14.04. In order to share as much as
possible between my work and home dev machines I'm storing my config files in a
set of git repos. I'm also using stuff like antigen, ELPA/MELPA, etc. In
short, I don't really care that much about backups, and for the
non-development tasks I have it might make more sense to do the exact opposite
of what you suggest above, i.e. keep $HOME local and switch to NFS when I
work on docs/etc that I need/want backups of.
I'll have to try it out and see, basically :)
/M
--
Magnus Therning, magnus.therning(a)cipherstone.com
Cipherstone Technologies AB
Theres Svenssons gata 10, 417 55 Gothenburg, Sweden
C++ is history repeated as tragedy. Java is history repeated as farce.
-- Scott McKay