Solaris Container Manager 1.1 版本說明

usermod 不會為已設定權限的使用者更新 /etc/user_attr 檔案

在 Container Manager 安裝期間,/etc/user_attr 檔案會由 usermod 指令更新。若您想要修改其 ID 是在 Container Manager 設定期間輸入的使用者設定檔, 可能會出現下列訊息:


UX: /usr/sbin/usermod: ERROR: 使用者名稱 is in use. Cannot change it.

若您遇到下列錯誤,請手動更新 /etc/user_attr 檔案以設定正確的設定檔

在 S10 系統中,/etc/user_attr 檔案的內容必須如下所示:

使用者名稱::::auths=認證;profiles=Pool Management,Zone Management,
Project Management,其他設定檔;其他屬性

在 S9 系統中,/etc/user_attr 檔案的內容必須如下所示:

使用者名稱::::auths=認證;profiles=Pool Management,Project Management,
其他設定檔;其他屬性

在 S8 系統中,/etc/user_attr 檔案的內容必須如下所示:

username::::auths=認證;profiles=Project Management,其他設定檔;其他屬性

要檢查所需的設定檔是否存在主機中,請檢查 /etc/security/prof_attr 檔案的內容。此檔案必須包含根據作業系統 (OS) 版本所需的設定檔。

若所需的設定檔不存在,請執行 /opt/SUNWsymon/addons/SCM/sbin/scm-poolprof-script.sh 檔案以建立所需的設定檔。/opt 為安裝 Container Manager 的目錄。要執行此程序檔,必須將 JAVA_HOME 環境變數設定到 /usr/j2se,或必須將 Java 安裝在 /usr/java