役割の使用の詳細については、Oracle Solaris 11.2 でのユーザーとプロセスのセキュリティー保護 のユーザーへの権利の割り当てを参照してください。
詳細は、Oracle Solaris 11.2 でのユーザーとプロセスのセキュリティー保護 の割り当てられている管理権利の使用を参照してください。
次の例では、新しいプロファイルに 2 つの既存の権利プロファイルを追加します。
# profiles -p new-profile profiles:new-profile> set desc="description" profiles:new-profile> add profiles="Unified Archive Administration" 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