Configuring name service, NIS, and NTP clients

Configuring the /etc/hosts file

To configure name service on a client using the /etc/hosts file:

  1. If the /etc/hosts file does not already exist, select Services -> Add -> Hosts database in the Client Manager.

    If the /etc/hosts file does already exist, click on /etc/hosts file in the services listed in the Client Manager, and then select Services -> Modify.

  2. To add an entry to the /etc/hosts file, click on Add, enter the IP address, hostname, and any alias names, then click on OK.

    To modify an entry in the /etc/hosts file, click on it in the list to select it, and then click on Modify. Click on OK to save your changes.

    To delete an entry in the /etc/hosts file, click on it in the list to select it, and then click on Delete.

  3. Click on OK to exit.


NOTE: This procedure modifies the file /etc/hosts. See hosts(4tcp) for a description of the format of this file.

Entries for the host, including the loopback address, cannot be modified to prevent accidental deletion.



© 1999 The Santa Cruz Operation, Inc. All rights reserved.
UnixWare 7 Release 7.1.1 - 5 November 1999