Hi.
We have installed the RedHat 4.0 from CDROM, but cannot find NIS
clients such as ypcat. NIS client services are not working.
We have followed the directions in section 5.13 of the RedHat Linux
User's Guide. Here are the relevant files:
/etc/nsswitch.conf:
passwd: nisplus
group: nisplus
hosts: dns
networks: nisplus
protocols: nisplus
rpc: nisplus
ethers: nisplus
netmasks: nisplus
bootparams: nisplus
publickey: nisplus
netgroup: nisplus
automount: nisplus
aliases: nisplus
services: nisplus
sendmailvars: nisplus
(We also tried using "nis" instead of "nisplus".)
/etc/yp.conf:
domain whatever
ypserver whatever
With nsswitch.conf in place, /etc/passwd and /etc/hosts files were
ignored, indicating that the NIS system was trying and failing to get
the info from the NIS server.
Basically, we would like to get info (e.g., user info) from the usual
/etc files if it exists, and if said info isn't available through the
/etc files, we then would go to NIS.
So, my questions are
(1) How can I get NIS to work in this way (look in /etc files, then in
NIS maps)?
(2) Where are the usual NIS clients such as ypcat?
Thanks.
--
Art Werschulz (8-{)} "Metaphors be with you." -- bumper sticker
GCS/M (GAT): d? -p+ c++ l u+(-) e--- m* s n+ h f g+ w+ t++ r- y?
ATTnet: Fordham U. (212) 636-6325, Columbia U. (212) 939-7061