Howdy,
I setup a test NIS domain that i'd like to test the home automounting
feature so basically i done this;
-Setup the NIS server and domain, make changes on Makefile to include
auto.master, auto.home
-had the client successfully connected to new NIS domain.
on NIS/NFS server i added this on /etc/auto.master file;
/home /etc/auto.home
on /etc/auto.home i have this;
* nfsserver:/home
Now my problem is, how would i force/setup the client that it would use the
auto{master,home} files on NIS server rather than using the locally same
files, pointers and correction greatly appreciated.
/joseph
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.centos.org/pipermail/centos/attachments/20070202/8219eeb1/attachment-0001.html>
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Fri, Feb 02, 2007 at 02:53:17PM +0800, joseph tacuyan wrote:> Now my problem is, how would i force/setup the client that it would use the > auto{master,home} files on NIS server rather than using the locally same files, > pointers and correction greatly appreciated.Just an educated guess here (never tried). Try changing the "automount" line on /etc/nsswitch.conf to: automount: nis files or maybe even: automount: nis - -- Rodrigo Barbosa "Quid quid Latine dictum sit, altum viditur" "Be excellent to each other ..." - Bill & Ted (Wyld Stallyns) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) iD8DBQFFwuS/pdyWzQ5b5ckRAs03AJwIiGfsL2KVCdWH4LYK8IoWfONPUQCfRyke YMhmDWoNZt2S6t9qhTcdW0E=YROc -----END PGP SIGNATURE-----