-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

At some point hitherto, Robert Casey hath spake thusly:
> Can someone tell me which file I have to modify, on the client, to
> make the NIS domainname permanent.

There are two things you must do.  First, your /etc/yp.conf file must
be properly set up.  It should have a line such as:

  domain <blah> broadcast

or

  domain <blah> server <bleah>

Then, in /etc/sysconfig/network you should have a line that sets the
variable NISDOMAIN, a la:

  NISDOMAIN=foo

This file is sourced by /etc/init.d/ypbind and sets the domain name
using that variable.  

As a general rule, if you can't figure out how to keep a configuration
static through a reboot, look through the init script that starts the
relevant service.  It will usually tell you what file(s) you need to
look at, and/or what variable(s) to set.  Most often, it will be a
file in /etc/sysconfig.

- -- 
Derek Martin               [EMAIL PROTECTED]    
- ---------------------------------------------
I prefer mail encrypted with PGP/GPG!
GnuPG Key ID: 0x81CFE75D
Retrieve my public key at http://pgp.mit.edu
Learn more about it at http://www.gnupg.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8jkmSdjdlQoHP510RAj5KAJ44/MjfsZ55tcgquC09W7GTvaiOXgCgnP+T
IRgLNAY1wINxUbex96nUW5s=
=Cbkr
-----END PGP SIGNATURE-----

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

Reply via email to