📄 svcsetup.8
字号:
.TH svcsetup 8.SH Namesvcsetup \- set up the svc.conf file.SH Syntax.B /usr/etc/svcsetup [[\-d \fIdirectory\fP] \-o \fIname_service_order\fP].SH DescriptionThe .PN svcsetup .NXR "svcsetup" "command"command allows you to print and modify the contentsof the .PN svc.conf file on the current system. This file mustbe modified when adding or removing a naming service, such asYellow Pages or BIND/Hesiod. The security parameters also includedin the .PN svc.conffile can only be changed by .PN secsetup . Changes take effect immediately. .PPModifications tothis file can also be made via an editor..PPYou can supply the name service ordering for all databases from thecommand line using the \f(CW\-o\fR option. The combination of the\f(CW\-o\fR and \f(CW\-d\fR options allows you to set up a diskless clientfrom the diskless server..PPWhen you run .PN svcsetupinteractively, and choose .PN modifyfrom the configuration menu,you can choose to modify any number of the databases listedby entering each number separated by space at the prompt. When choosinga naming service order for a database, enter one number from the menu choices shown which corresponds to the naming service order desired..SH Options.NXR "svc.conf command" "options".IP "\-d \fIdirectory\fR" 5These two arguments are required if you are setting up a diskless clientfrom the diskless server. The \fIdirectory\fR is the full pathname ofthe root directory for your system (a diskless client) on the disklessserver. The following is an example of a root directory for a disklessclient named.PN orange:.EX 10/dlclient0/orange.root.EE.IP "\-o \fIname_service_order\fR"This is the name service order to be set for all database entries in the .PN svc.conffile. The name service order can be one of the following, which are theonly valid strings for .I name_service_order argument:.IP \(bu 4 local.IP \(bulocal,yp.IP \(bulocal,bind.SH RestrictionsThe recommended configuration is that you have.PN localas the first entry for all databases..PPYou must have .PN local .NXR "svcsetup" "restrictions"as the first entry for the .PN passwdand.PN hostsdatabases..PPYou must have .PN ypas the entry for the.PN netgroupdatabase..PPYou must have either .PN localor .PN bindas the entry for the.PN authdatabase..PPYou must be superuser to run .PN svcsetup ..SH Files.TP 20.PN /etc/svc.conf Services order configuration file.TP 22.PN /usr/sys/h/svcinfo.hSystem header file .SH See Alsosvc.conf(5)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -