[SLUG] Shared home directory and rc files

From: Kwan Lowe (kwan@digitalhermit.com)
Date: Wed Oct 12 2005 - 22:43:04 EDT


Hello All:

I've been using OpenLDAP for authentication on a number of machines for
a while. It worked great for primarily text based logins. Recently I've
installed several Fedora Core 4 instances with full GUI and have been
running into some issues with the shared home. These all seem related
to the shared home directory under NFS. Forexample:

1) Firefox prompts that another session is running if you login with the
same ID to different nodes and launch Firefox. You can create a new
profile to get past this, but there's no easy way to configure a set of
plugins unique to each node.

2) Fluxbox fails to launch because a root-owned process cannot write to
a user home directory (nfs squashes the root permissions, as it should).

3) Various applications drop the configuration files in ~/ as a dotfile.
  It varies from application to application so no one method will solve
them all. I've done some things like create a script that launches based
on the hostname. This script (sourced via the user bash_profile) can set
host specific environment variables such as JAVA_HOME.

For example:

# User specific environment and startup programs
LDAP_CURRENT_HOST=`hostname -s`
if [ -f ~/.hostconfig/${LDAP_CURRENT_HOST}.profile ]; then
         . ~/.hostconfig/${LDAP_CURRENT_HOST}.profile
fi

This, however, does not work for applications that default to a dotfile
in the home directory.

Anybody have any other solutions they're using for a shared home?

-----------------------------------------------------------------------
This list is provided as an unmoderated internet service by Networked
Knowledge Systems (NKS). Views and opinions expressed in messages
posted are those of the author and do not necessarily reflect the
official policy or position of NKS or any of its employees.



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 18:13:50 EDT