メインコンテンツへスキップ

RBACベースのポリシーと管理者の設定に役立つドキュメント

Views:
20
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
core
Last Updated:

環境

  • ONTAP 9
  • ロールベースアクセス制御 (RBAC)
  • エクスポート ポリシー

回答

1.  コマンドディレクトリを指定し、適切なアクセスレベルを設定します。

cluster::> securitylogin role create -role admin_role -cmddirname DEFAULT -access none -vserversvm1
cluster::> security login role create -role admin_role -cmddirname"vserver" -access all -vserver svm1
cluster::> security login role create -role admin_role -cmddirname"network" -access all -vserver svm1
cluster::> security login role create -role admin_role -cmddirname"system" -access all -vserver svm1
cluster::> security login role create -role admin_role -cmddirname"cluster" -access all -vserver svm1

  • データへのアクセスを制限するために、データ関連のコマンドディレクトリ( volume、 file、 snapshotなど)へのアクセスを拒否することができます。


cluster::> securitylogin role create -role admin_role -cmddirname "volume" -access none-vserver svm1
cluster::> security login role create -role admin_role -cmddirname"file" -access none -vserver svm1
cluster::> security login role create -role admin_role -cmddirname"snapshot" -access none -vserver svm1

  1. カスタムロールを作成したら、 ユーザを作成してロールを割り当てます。

ロールをリストしてアクセスレベルを確認し、ロールとユーザが正しく設定されていることを確認します。

例:

cluster::> securitylogin role show -vserver svm1 -role admin_role

cluster::> security login show -vserver svm1 -user-or-group-name admin_user

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.

 

  • この記事は役に立ちましたか?