Red Hat Training

A Red Hat training course is available for Red Hat JBoss Enterprise Application Platform

4.3.4. 代替プロパティーファイルを使用した情報の保存における単一グループへのユーザーの作成

例4.4 代替のプロパティーファイルを使用した単一グループに属するユーザーの作成

EAP_HOME/bin/add-user.sh -a -u appuser1 -p password1! -g app1group -sc /home/someusername/userconfigs/ -up appusers.properties -gp appgroups.properties 
この例では、以下の結果を表示しています。
  • ユーザー appuser1 は以下のプロパティーファイルに追加され、このファイルがユーザー情報を保存するデフォルトファイルになります。
    /home/someusername/userconfigs/appusers.properties
  • app1group グループを持つユーザー appuser1 が以下のプロパティーファイルに追加され、このファイルがグループ情報を保存するデフォルトファイルになりました。
    /home/someusername/userconfigs/appgroups.properties