SMF 등록 정보를 사용하여 구성 가능한 모든 시스템 특성의 구성을 지정할 수 있습니다. 예를 들어, 시스템 구성 프로파일은 루트 계정, 초기 사용자, 키보드 레이아웃, 터미널 유형, IPv4 네트워크 인터페이스(static 또는 DHCP)와 기본 경로, IPv6 네트워크 인터페이스(static 또는 addrconf)와 기본 경로, 그리고 이름 서비스(이름 서버 목록, 검색 목록, 도메인)를 구성할 수 있습니다. 적용되지 않는 서비스나 등록 정보를 지정하면 해당 사양이 무시됩니다. 특정 등록 정보를 한번 이상 지정하지 마십시오.
지정할 SMF 등록 정보가 무엇인지 확실히 모르면 svccfg 명령의 describe 하위 명령을 사용하여 서비스의 등록 정보 그룹 및 등록 정보에 대한 설명을 가능한 설정과 함께 표시할 수 있습니다. svccfg(1M) 매뉴얼 페이지의 "Property Inspection and Modification Subcommands"를 참조하십시오.
svccfg -s FMRI describe [-v] [-t] [propertygroup/property]
등록 정보 그룹 이름을 지정하거나 슬래시(/)로 구분된 등록 정보 그룹 이름 및 등록 정보 이름을 인수로 지정하여 등록 정보 그룹이나 특정 등록 정보를 질의할 수 있습니다.
–v 옵션은 현재 설정, 제약 조건 및 기타 가능한 설정 선택에 대한 설명을 포함하여 모든 사용 가능한 정보를 제공합니다.
–t 옵션은 선택한 템플리트 데이터만 보여주고(smf_template(5) 매뉴얼 페이지 참조) 등록 정보 그룹 및 등록 정보에 대한 현재 설정을 표시하지 않습니다.
$ svccfg -s name-service/switch describe config config application Name service switch configuration data as described in nsswitch.conf(4). config/value_authorization astring solaris.smf.value.name-service.switch config/default astring files Default configuration database entry. config/host astring "files dns mdns" Override configuration for host database lookups. (both IPv4 and IPv6 hosts) config/printer astring "user files" Override configuration for printer database lookups. $ svccfg -s name-service/switch describe -v config config application name: config type: application required: true target: this description: Name service switch configuration data as described in nsswitch.conf(4). config/value_authorization astring solaris.smf.value.name-service.switch config/default astring files type: astring required: true Default configuration database entry. visibility: readwrite minimum number of values: 1 maximum number of values: 1 value: files ... $ svccfg -s name-service/switch describe -t config name: config type: application Name service switch configuration data as described in nsswitch.conf(4). name: default type: astring Default configuration database entry. name: host type: astring Override configuration for host database lookups. (both IPv4 and IPv6 hosts) name: password type: astring Override configuration for passwd database lookups. Also used with the shadow and user_attr databases. name: group type: astring Override configuration for group database lookups. name: network type: astring Override configuration for network database lookups. ... $ svccfg -s system/config-user describe root_account root_account application root_account/expire astring root_account/password astring root_account/read_authorization astring solaris.smf.read.system-config root_account/stability astring Evolving root_account/type astring