次の手順は、権利プロファイルを、統合アーカイブを管理するために使用できる 1 つのプロファイルに追加する方法を示しています。
権利プロファイルを構成できるには、root の役割になる必要があります。詳細は、Oracle Solaris 11.3 でのユーザーとプロセスのセキュリティー保護 の 割り当てられている管理権利の使用を参照してください。
次の例では、新しいプロファイルに既存の権利プロファイルを追加します。
# profiles -p new-profile profiles:new-profile> set desc="description" profiles:new-profile> add profiles="Unified Archive Administration" profiles:new-profile> add profiles="User Management" profiles:new-profile> add profiles="Zone Security" profiles:new-profile> commit; end; exit
このステップでは、新しい役割のパスワードも設定します。
# roleadd -c "comment" -m -K profiles"new-profile" new-role # passwd new-role Password: xxxxxxxx Confirm password: xxxxxxxx
# usermod -R +new-role user