On Wed, May 15, 2002 at 01:21:50PM -0400, Jake McHenry wrote: > Hi, everytime I reboot my machine, I have to reset my hostname and > domainname. When I reboot, my hostname get's set back to what it was when I > installed redhat, and the domainname goes to empty. I set them back by > hostname xxxx and domainname xxxx and it's fine then, but as soon as I > reboot or go init1, it goes back to the wrong settings. Where are the files > that I can manually change these entries?
If you want to configure the domainname, set `domainname = xxx' in /etc/sysconfig/network. NIS (Network Information Service) is something else althogether. I've never used it, but from what I've read it was developed by Sun to allow system information to be distributed across a network and can be used to override the default domain name. I guess it is used to overcome the fact that network nodes were originally autonomous. It was called yellow pages so everything about `yp' under `man domainname' and `man ypcat' is dealing with NIS. Cameron
msg78669/pgp00000.pgp
Description: PGP signature