sysidcfg 파일의 모든 js2ai 변환에서 다음 경고가 생성됩니다.
sysidcfg:line #:WARNING: Oracle Solaris 11 uses roles instead of root user. An admin user with root role privileges will need to be defined in order to access the system in multi-user mode. The necessary xml structures have been added to sc_profile.xml as a comment. Edit sc_profile.xml to perform the necessary modifications to define the admin user.
경고는 js2ai 명령에서 root_passwd 키워드만으로 필요한 데이터 구조를 생성할 수 없기 때문에 발생합니다. sysidcfg 파일에 root_passwd 키워드가 포함되어 있는 경우 js2ai는 다음과 같은 system/config-user 구조를 생성합니다.
<service name="system/config-user" type="service" version="1">
<instance enabled="true" name="default">
<!--
Configures user account as follows:
* User account name 'jack'
* password 'jack'
* GID 10
* UID 101
* root role
* bash shell
-->
<!--
<property_group name="user_account" type="application">
<propval name="login" type="astring" value="jack"/>
<propval name="password" type="astring" value="9Nd/cwBcNWFZg"/>
<propval name="description" type="astring" value="default_user"/>
<propval name="shell" type="astring" value="/usr/bin/bash"/>
<propval name="gid" type="astring" value="10"/>
<propval name="uid" type="astring" value="101"/>
<propval name="type" type="astring" value="normal"/>
<propval name="roles" type="astring" value="root"/>
<propval name="profiles" type="astring" value="System Administrator"/>
<propval name="sudoers" type="astring" value="ALL=(ALL) ALL"/>
</property_group>
-->
<property_group name="root_account" type="application">
<propval name="login" type="astring" value="root"/>
<propval name="password" type="astring" value="{your_root_passwd}"/>
<propval name="type" type="astring" value="role"/>
</property_group>
</instance>
</service>
XML에서 주석은 <!--로 시작합니다. Oracle Solaris 11을 지원하는 데 필요한 사용자를 정의하려면 user_account 등록 정보 그룹 구조를 둘러싼 XML 주석 표시자를 제거합니다. 다음에는 user_account 등록 정보 구조를 수정하여 root 역할 권한을 가질 사용자를 만듭니다. root_password 키워드가 지정되지 않은 경우 root_account 등록 정보 그룹 구조를 주석 처리합니다.