Quintela Carreira Juan J. writes:
> >>>>> "richard" == Richard Gooch <[EMAIL PROTECTED]> writes:
> 
> richard> I've got no problems with sample auto.* files. But the sample
> richard> auto.master file should either be empty, or have commented-out lines.
> 
> richard> And the NIS auto.master map should be automatically used, even if
> richard> /etc/auto.master exists. The if/else test I saw on the Debian 2.2
> richard> systems is bogus (wherever it came from).
> 
> richard> There should be a way of disabling use of the auto.master NIS map, but
> richard> that should be done in /etc/nsswitch.conf, just like everything
> richard> else. A file existence test is dumb. And the default should be that
> richard> the NIS map is used. I just want to be able to turn on the automounter
> richard> on all machines and not have to worry about anything else. I want to
> richard> manage the network from the server.
> 
> I am sorry, but I don't like that, I want that any map is read from
> /etc if it exists, and in other case, read from NIS.  Example:
> 
>      Here I have an NFS server, I use it for several archs/oses.
>      I want to be able to mount the binaries mounts rw in some
>      systems, but being ro in the rest of them.  I achieve that 
>      putting a NIS map ro and overriding specific maps in specific
>      machines with a local map.  How can I obtain that if I read first
>      the NIS map?

By configuring the order in /etc/nsswitch.conf, as I (and others)
said, of course!

But the default should be to read both, and have an empty (or
non-existant) /etc/auto.master.

                                Regards,

                                        Richard....
Permanent: [EMAIL PROTECTED]
Current:   [EMAIL PROTECTED]

Reply via email to