nsswitch.conf not copied

Nicolas Triantafillou nick at uow.edu.au
Sun Nov 28 00:00:58 CET 2004


during the install, do you see NIS defined in the list of classes?

I have a script in my scripts/ directory with:

#!/bin/sh

# NIS stuff
fcopy -iM /etc/defaultdomain
fcopy -iM /etc/nsswitch.conf
fcopy -iM /etc/yp.conf

(make sure the script is +x)

this copies my NIS stuff over. make sure the script has the same name as 
one of the classes defined for the machine being built.. probably just 
call it 'NIS'

Nick.

Rudy Gevaert wrote:
> Hi,
> 
> I defined the NIS, and put the following  in /ed/fai_configdir/files/etc/nsswitch.conf/NIS:
> 
> passwd:         nis files
> group:          nis files
> shadow:         nis files
> 
> hosts:          files dns
> networks:       files
> 
> protocols:      db files
> services:       db files
> ethers:         db files
> rpc:            db files
> 
> netgroup:	nis
> 
> However, these files don't get copied when the install is done.
> 
> What could it be?
> 
> Thanks in advance,
> 
> Rudy



More information about the linux-fai mailing list