構成可能なシステム特性の構成は、SMF プロパティーを使用して指定できます。たとえば、システム構成プロファイルは、root アカウント、初期ユーザー、キーボード配列、端末タイプ、IPv4 ネットワークインタフェース (静的または DHCP) とデフォルトルート、IPv6 ネットワークインタフェース (静的または addrconf) とデフォルトルート、およびネームサービス (ネームサーバーリスト、検索リスト、ドメイン) を構成できます。該当しないサービスまたはプロパティーを指定した場合、その指定は無視されます。特定のプロパティーを何度も指定しないでください。
どの SMF プロパティーを指定する必要があるか確信を持てない場合は、svccfg コマンドの describe サブコマンドを使用して、サービスのプロパティーグループとプロパティーの説明 (使用可能な設定を含む) を表示できます。svccfg(1M) のマニュアルページの「プロパティーの検査および変更のサブコマンド」を参照してください。
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