Re: Shared home directory and NIS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Wendell Nichols wrote:
> I have access to several linux machines at work and they're all on a 
> single nis domain.  My home dir is on an nfs mount and is the same for 
> all machines.   I have xrdp installed on all of them but because the 
> home dir is shared I find that the second session behaves badly.  
> firefox wont start and any desktop that has log files fights with its 
> counterpart on the other desktop.
> Is there a way to overcome this?
> I cannot change the nis and shared home dir setup...

You *may* be able to set up your own unique "home" directory on each machine. 
Create a subdirectory, change to it, and reset the HOME variable to point to 
that directory. So you fool the applications into seeing a different HOME on 
each machine.

Maybe a script:
  #!/bin/bash
  eval REALHOME="~${LOGNAME}"
  NEWHOME=${REALHOME}/home_$(uname -n)
  [ -d ${NEWHOME} ] || mkdir -p ${NEWHOME}
  cd ${NEWHOME}
  HOME=${NEWHOME}
  CDPATH=.:${NEWHOME}:${REALHOME}

Not all applications will use this, the local "HOME" directory will accumulate 
all the config files for every application, but it may be good enough to be 
useful. Of course unsharing your home may run counter to the intent of the 
policy, can't help you there.


-- 
Bill Davidsen <davidsen@xxxxxxx>
   "We have more to fear from the bungling of the incompetent than from
the machinations of the wicked."  - from Slashdot

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux