Scoofy12
05-03-2005, 04:55 PM
a quick question for the linux gurus:
is your home directory (i.e. what ~ gets expanded to, and where programs place your dotfiles) completely determined by the value of $HOME ?
Here's what im trying to do: All the linux/unix machines at school have a common login system, and your home directory gets mapped via nfs each time you login. however, for some machines, I want to use a local disk as my home, to keep settings and such separate from my shared home directory. can i check the machine in .bashrc or something and just export a new $HOME variable? or does it take more?
is your home directory (i.e. what ~ gets expanded to, and where programs place your dotfiles) completely determined by the value of $HOME ?
Here's what im trying to do: All the linux/unix machines at school have a common login system, and your home directory gets mapped via nfs each time you login. however, for some machines, I want to use a local disk as my home, to keep settings and such separate from my shared home directory. can i check the machine in .bashrc or something and just export a new $HOME variable? or does it take more?