Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

svc.conf(5)

svcsetup(8)

Name

svcsetup − set up the svc.conf file

Syntax

/usr/etc/svcsetup [[−d directory] −o name_service_order]

Description

The svcsetup command allows you to print and modify the contents of the svc.conf file on the current system.  This file must be modified when adding or removing a naming service, such as Yellow Pages or BIND/Hesiod. The security parameters also included in the svc.conf file can only be changed by secsetup. Changes take effect immediately.

Modifications to this file can also be made via an editor. 

You can supply the name service ordering for all databases from the command line using the −o option. The combination of the −o and −d options allows you to set up a diskless client from the diskless server. 

When you run svcsetup interactively, and choose modify from the configuration menu, you can choose to modify any number of the databases listed by entering each number separated by space at the prompt. When choosing a naming service order for a database, enter one number from the menu choices shown which corresponds to the naming service order desired.

Options

−d directory
These two arguments are required if you are setting up a diskless client from the diskless server. The directory is the full pathname of the root directory for your system (a diskless client) on the diskless server. The following is an example of a root directory for a diskless client named orange:

/dlclient0/orange.root

−o name_service_order
This is the name service order to be set for all database entries in the svc.conf file. The name service order can be one of the following, which are the only valid strings for name_service_order argument:

•local

•local,yp

•local,bind

Restrictions

The recommended configuration is that you have local as the first entry for all databases.

You must have local as the first entry for the passwd and hosts databases.

You must have yp as the entry for the netgroup database.

You must have either local or bind as the entry for the auth database.

You must be superuser to run svcsetup.

Files

/etc/svc.conf Services order configuration file

/usr/sys/h/svcinfo.h
System header file

See Also

svc.conf(5)

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026