Re: Initial NIS+ setup: autofs map config ?
From: Neil W Rickert (rickert+nn_at_cs.niu.edu)
Date: 09/24/04
- Next message: Daniel Huang: "VxVM license on solaris 9"
- Previous message: David A.Lethe: "Re: Does solaris require disks to be zeroed before using"
- In reply to: John Courcoul: "Initial NIS+ setup: autofs map config ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 24 Sep 2004 19:49:38 +0000 (UTC)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
John Courcoul <john.courcoul@mac.com> writes:
>I'm trying to set up a small number of SunBlades in a lab environment,
>with the users having all their stuff in a SunFire server, with NIS+ as
>the naming service.
>Before populating the NIS+ tables on the newly configured root server,
>I'd like to make sure I've got them right so I won't have to start
>correcting and reloading from the start.
>For the automounter to work, what maps do I have to load in the NIS+
>space? The default auto_master comes set up like this:
> # Master map for automounter
> #
> +auto_master
> /net -hosts -nosuid,nobrowse
> /home auto_home -nobrowse
> /xfn -xfn
>Do I have to remove the "+auto_master" entry on the file that
>nispopulate is going to load?
My auto_master nis+ map does not have that entry. But it has been a
long time since I set this up. I would guess that "nispopulate"
already excludes that line, so you don't have to remove it your
self. In any case, you could remove later with "nistbladm".
>On the "blank" default auto_home map:
> # Home directory map for automounter
> #
> +auto_home
>Do I have to add a line for each and every user ? Like:
> joeuser theserver:/export/home/joeuser
You will likely need to add those to your nis+ auto_home map. But
you won't need them in your "/etc/auto_home". Put the needed entries
in a separate file, and use "nisaddent" to add them to your map.
Normally you want the files to be small, and have most of the data
only in nis+. You would typically add an entry to a file only to
override the nis+ map on a particular system.
>Or is there some shortcut notation to tell it to look for joeuser's home
>directory under theserver:/export/home ? Also on this subject, does that
>mean that a new entry has to be added to the auto_home map every time a
>new user is added ?
Yes.
I did it the other way. I add an entry
machine machine:/export/home
for each machine. Then I set the home directory of "joeuser"
to be "/home/theserver/joeuser".
I do this to reduce the length of the "df" output.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (SunOS)
iD8DBQFBVHpPvmGe70vHPUMRApbKAJ9BuEyyiqVBR+EMPsniTwCyiDrS6wCeN3qo
GW9oY51v2fcaLa1rd6Oy3gw=
=VHKI
-----END PGP SIGNATURE-----
- Next message: Daniel Huang: "VxVM license on solaris 9"
- Previous message: David A.Lethe: "Re: Does solaris require disks to be zeroed before using"
- In reply to: John Courcoul: "Initial NIS+ setup: autofs map config ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|