From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,7c782e1a74d13549 X-Google-Attributes: gid111c93,public From: Nicolai Langfeldt Subject: Re: NIS on Red Hat 4.2 Date: 1997/12/23 Message-ID: #1/1 X-Deja-AN: 309597758 References: <349F3A8A.F88DB758@ellpspace.math.ualberta.ca> Organization: Folkeaksjonen mot MWM Newsgroups: comp.os.linux.alpha Maurice Hilarius writes: > Has anyone here had any experience with setting up NIS on an Alpha > running Red Hat Linux? > Any help would be greatly appreciated. This works on Rh4.2/Intel at least. yp.conf and nsswitch.conf are documented. NISDOMAIN should just contain the nisdomain name, the 'domain' thing in yp.conf seems to be inefectual. /etc/rc.d/init.d/nis: --- #!/bin/sh # # nis This shell script takes care of starting and stopping # the NIS services. # # Author: Nicolai Langfeldt (janl@math.uio.no) # # Source function library. . /etc/rc.d/init.d/functions # Source networking configuration. if [ ! -f /etc/sysconfig/network ]; then exit 0 fi . /etc/sysconfig/network # Check that networking is up. [ ${NETWORKING} = "no" ] && exit 0 [ -f /etc/yp.conf ] || exit 0 [ -f /etc/nsswitch.conf ] || exit 0 [ -f /etc/NISDOMAIN ] || exit 0 # See how we were called. case "$1" in start) # Start daemons. echo -n "Setting domainname: " read NISDOMAIN