chusergrp
請使用 chusergrp 指令來變更現有使用者群組的屬性。
語法
>>-chusergrp-- -role--+-role_id---+--+-------------------+------> '-role_name-' '- -remote--+-yes-+-' '-no--' >--+-group_id---+---------------------------------------------->< '-group_name-'
參數
- -role role_name
- (選用)指定與屬於這個群組的使用者相關聯的角色。必須選取下列其中一個角色:Monitor、CopyOperator、Service、Administrator 或 SecurityAdmin。
- -remote yes | no
- (選用)指定是否應該利用這個使用者群組來設定遠端使用者的角色。必須設定 yes 或 no 選項。
- group_id | group_name
- (必要)要變更屬性的使用者群組的 ID 或名稱。
說明
請使用 chusergrp 指令來修改現有使用者群組的屬性。
您必須有「安全管理者」角色,才能建立、刪除或變更使用者。
預設群組的角色不能改變。
呼叫範例
chusergrp -role Administrator admin
結果輸出:
No feedback
