Untested, at least on RH 7.2, but I've used something similar before:

Edit /etc/sysconfig/network, which should have lines that look like
this:

NETWORKING=yes
HOSTNAME=yourmachinename (whatever that is)

and add a line at the end:

NISDOMAIN=lds

If you take a look at /etc/init.d/ypbind, you'll see that it loads
in the network file and sets the domain name if it's not already
set and NISDOMAIN exists.

-Mark

On Tue, 2002-03-12 at 13:18, 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