SuSE GmbH

SuSE Support Database

Title: Automatic entry of NIS for hosts resolving no longer functions

----------

Mainpage o Searchform o History o Versions o Categories o Contents
Deutsch

----------

Automatic entry of NIS for hosts resolving no longer functions

Applies to

SuSE Linux: Version 6.2

Symptom:

You wish to resolve your computer name via NIS. But you can no longer find the variable USE_NIS_FOR_RESOLVING in /etc/rc.config, or this variable is ignored.

Cause:

Due to the complexity of the rules for /etc/nsswitch.conf this can no longer take place automatically. Therefore, the necessary modifications need to be entered by hand in /etc/nsswitch.conf.

Procedure:

As root, load the file /etc/nsswitch.conv into your favourite editor. There, in the line beginning with hosts, the service NIS should be entered. In order to preserve the old behavior, modify the line as follows:
hosts: files nis dns
An exact description of all available options can be found in the relevant manpages: man nsswitch.conf ~

----------

Keywords: NIS, RESOLV.CONF, DNS, YP

----------

Categories: Configuration

----------

Feedback welcome: Send Mail to kukuk@suse.de (Please give the following subject: SDB-kukuk_hosts_resolv)

----------

Mainpage o Searchform o History o Versions o Categories o Contents
Deutsch

----------

SDB-kukuk_hosts_resolv, Copyright SuSE GmbH, Nuremberg, Germany
SuSE GmbH - Last generated: 07. Oct 1999 16:56:21 by maddin with sdb_gen 1.00.0