Autofsを使う
couldn't locate nis+ table auto.master
/etc/nsswitch.conf
automount files
http://hyphenlink.blog48.fc2.com/blog-entry-69.html
ホームディレクトリとしてローカルとリモートを混在させる.
user1とuser2はリモート,それ以外のユーザはローカルに実体があるとする.
ローカル側
- /homeを/export/homeに移動
- /etc/auto.masterを編集
/home /etc/auto.home
- /etc/auto.home
user1 -fstype=nfs remote:/home/user1 user2 -fstype=nfs remote:/home/user2 * -fstype=nfs :/export/&
#service autofs start