svcsetup(8) System Manager's Manual svcsetup(8)Name
svcsetup - set up the svc.conf file
Syntax
/usr/etc/svcsetup [[-d directory] -o name_service_order]
Description
The command allows you to print and modify the contents of the 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 file can only be changed by
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 interactively, and choose 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
/dlclient0/orange.root
-o name_service_order
This is the name service order to be set for all database entries in the file. The name service order can be one of the following,
which are the only valid strings for name_service_order argument:
o local
o local,yp
o local,bind
Restrictions
The recommended configuration is that you have as the first entry for all databases.
You must have as the first entry for the and databases.
You must have as the entry for the database.
You must have either or as the entry for the database.
You must be superuser to run
Files
Services order configuration file
System header file
See Alsosvc.conf(5)svcsetup(8)
Check Out this Related Man Page
svc.conf(4) Kernel Interfaces Manual svc.conf(4)NAME
svc.conf - Database service selection configuration file
DESCRIPTION
The /etc/svc.conf file is a mandatory system file that allows you to select the desired services on a per database basis. The default
/etc/svc.conf file has local as the service selected for each database. This file must be modified when adding or removing a naming ser-
vice, such as the Network Information Service or BIND. The valid services are local, yp, and bind. Modifications to the /etc/svc.conf
file can be made with an editor or the /usr/sbin/svcsetup command for database service selection. Changes take effect immediately. The
recommended configuration is that you have local as the first entry for all databases.
RESTRICTIONS
White space is allowed only after commas or newlines.
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.
EXAMPLES
The following is a sample /etc/svc.conf file: aliases=yp group=local,yp hosts=local,bind,yp netgroup=yp networks=local,yp passwd=local pro-
tocols=local,yp rpc=local,yp services=local
SECLEVEL=BSD # for backwards compatibility ONLY
FILES
/etc/svc.conf
/usr/sys/include/sys/svcinfo.h
RELATED INFORMATION
Commands: svcsetup(8)
Functions: getsvc(3)
Network Administration delim off
svc.conf(4)
<h1>A short history of UNIX</h1>
<p>In the late 1960's Ken Thompsom joined the computing-science research group at Bell
Laboratories, which is the research arm of the giant American corporation ATT. He and many
colleagues had been collaborating with MIT and GE on the development of an... (0 Replies)
We have quite a few threads about this subject. I have collected some of them and arranged them by the OS which is primarily discussed in the thread. That is because the exact procedure depends on the OS involved. What's more, since you often need to interact with the boot process, the... (0 Replies)
I'm writing a command shell, and I want to be able to detect when the user presses an arrow key (otherwise it just prints [[A, [[B, etc.). I know it's relatively easy (although somewhat more time-consuming) to detect keystrokes in noncanonical mode, but I've noticed that the bash shell detects... (4 Replies)
I'm learning off Linux (Ubuntu) right now. I want to move up to Unix, but I don't want to rush like I did when it came to Windows --> to Linux. What is the best Unix OS that fits in pretty well with Ubuntu.
In other words is there kind of an equal Linux with Unix?
Also what do I need to... (10 Replies)
I noticed my hostname is <my-full-name>s-macbook.local. I'm not sure exactly what information leaves the local network, and whether the hostname is included, but if it is, this would mean people on the Internet can look at my hostname and see who I am. Before anyone says that's not possible,... (4 Replies)