Hope this helps....

We do this as part of our kickstart postinstall.

# YPBIND
cp /etc/yp.conf /etc/yp.conf-dist
echo "domain athena broadcast" >>/etc/yp.conf
chkconfig --level 345 ypbind on


Also, on my system....

quantum@com:sysconfig/ cat /etc/issue

Red Hat Linux release 7.1 (Seawolf)
Kernel 2.4.2-2 on an i686

quantum@com:sysconfig/
quantum@com:sysconfig/ pwd
/etc/sysconfig
quantum@com:sysconfig/ cat network
NETWORKING=yes
HOSTNAME=dd119.mv.lucent.com
NISDOMAIN=athena
quantum@com:sysconfig/

Robert Casey wrote:

> Hello,
>
>      My name is Bob Casey and I'm new to gnhlug. I am new to Linux but 
> do have some Unix experience, specifically Solaris. Can someone tell 
> me which file I have to modify, on the client, to make the NIS 
> domainname permanent. My domainname is lds and according to several 
> books I've read they simply say to type domainname lds. This works 
> until reboot. I am running RedHat 7.2 on a Dell Optiplex GX1p. ANy 
> suggestions?
>
> Bob Casey
>
>
> *****************************************************************
> To unsubscribe from this list, send mail to [EMAIL PROTECTED]
> with the text 'unsubscribe gnhlug' in the message body.
> *****************************************************************




*****************************************************************
To unsubscribe from this list, send mail to [EMAIL PROTECTED]
with the text 'unsubscribe gnhlug' in the message body.
*****************************************************************

Reply via email to