Communications Express 使用代理使用者與各種附屬元件通訊,如 Calendar Server、Messaging Server 及 Directory Server。
代理使用者的登入與密碼詳細資訊儲存於下列的特性檔案中:
uwcconfig.properties
uwcauth.properties
migration.properties
db_config.properties
由於特性檔案為一般文字檔案,基於安全性的考量應將密碼加密並儲存。JES 5 專用的 Communications Express 配置程式會在配置期間加密密碼。這可以直接透過設置工具完成。Communications Express 有隨附可管理密碼的工具。管理員可執行此程序檔來加密密碼。
Communications Express 提供可協助管理員加密密碼的程序檔。
請至 uwc-basedir/SUNWuwc/sbin 目錄。
在指令行提示中鍵入以下指令:
./manage-password -e -d /var/opt/SUNWuwc/ |
將會顯示下列輸出。鍵入您要加密的密碼。若要結束,請鍵入 quit:
Option -ep is selected usr/jdk/entsys-j2se/bin/java -classpath /opt/SUNWuwc/lib/classes:/usr/jdk/entsys- j2se/lib/classes.zip com.sun.msg.install.util.UWCEncryptionManager -ep /var/opt/SUNWuwc/ Type quit to exit the program Enter text to be encrypted:<text_to_be_enctypted> Encrypted String is:- Ul/LlVF5eUUsWTeQyHbxwg== Enter text to be encrypted:quit |
複製加密的密碼並貼至適當的特性檔案中。