Hello everyone! I feel this is a really stupid question that I should know the answer to as I've been doing this stuff long enough but I'm a little lost...
So changing an individual users homedir is simple... However, we use LDAP & I want this change globally. For right now our homedirs are all on an NFS share mounted into lets say /data/home/$user
For my user I've symlinked my homedir to /home across all systems. However, without adding another autofs rule to move the mount or linking all homedirs to /home how would I get CentOS to default look for homedir in /data/home/$user.
For right now if you ssh to a box without a symlink to /data/home/$user it will say can't chdir to blah. I'm getting ready to enforce ssh key only authentication & I need it to see their .ssh dir on connect. So I would like it to look for authorized_keys in /data/home/$user/.ssh
If I need to remap the autofs mount I will it's not that much work to remap it in puppet. However, I would have to add it as a second mount as we have a lot of dev scripts that point to their homedir. Any advice would be appreciated.
[link] [comments]