svcsetup - set up the svc.conf file
/usr/sbin/svcsetup
Note
This file is obsolete, except for statically-built applications
and sendmail, if the Name Service Switch is in
use. See nsswitch.conf(5) for more information.
The svcsetup script modifies the svc.conf file on your
system. The svc.conf file must be modified whenever you
configure or remove a database distribution service, such
as the Network Information Service (NIS, formerly YP) or
BIND (for the hosts database only). Changes take effect
immediately.
Modifications to the svc.conf file can also be made via an
editor.
When you run svcsetup, do the following: Choose the m
option from the Configuration menu. Enter the numbers,
separated by a space, from the Change Menu that correspond
to the databases whose entries you want to modify. Indicate,
for each database that you selected in step 2, the
order in which you want the services queried. Selections
3, 4, 5, and 6 are valid for the <interactive>(hosts)
database only.
The recommended configuration is that you have local as
the first entry for all databases, except possibly hosts.
The Security Integration Architecture (SIA) is now responsible
for setting the service order for the passwd and
group databases. The passwd and group entry in the
svc.conf file remain for backwards compatibility only. The
SECLEVEL entry also remains for backwards compatibility
only; SIA now configures system security.
Only NIS can serve the netgroup database, even if local is
specified for the netgroup entry.
You must be superuser to run svcsetup.
Service order configuration file
Functions: getsvc(3)
Files: svc.conf(4)
svcsetup(8)
[ Back ] |