管理者ロールとともに、または管理者ロールなしでユーザーを作成するには、次の手順を使用します。ユーザータイプの説明については、ユーザーとロールについてを参照してください。
hostname:> configuration users
directory- ディレクトリユーザー (NIS、LDAP) の場合。
local - ローカルユーザーの場合。
data- データ専用ユーザーの場合。
nologin- 非ログインユーザーの場合。
hostname:configuration users john (uncommitted)> get logname = john uid = (unset) fullname = (unset) initial_password = (unset) require_annotation = false
hostname:configuration users john (uncommitted)> set initial_password=password initial_password = ******** (uncommitted) hostname:configuration users john (uncommitted)> commit
この時点で、ユーザーは作成されていますが、すべてのプロパティーがカスタマイズされているとは限りません。
これで、ユーザーのロールおよび承認の例外を追加できます。
hostname:configuration users > local john hostname:configuration users john (uncommitted) > get logname = john uid = (unset) fullname = (unset) initial_password = (unset) require_annotation = false hostname:configuration users john (uncommitted) > set initial_password=password initial_password = ******** (uncommitted) hostname:configuration users john (uncommitted) > commit hostname:configuration users > select john hostname:configuration users john > show Properties: logname = john type = local uid = fullname = initial_password = ************* require_annotation = false roles = kiosk_mode = false kiosk_screen = status/dashboard Children: exceptions => Configure this user's exceptions preferences => Configure user preferences hostname:configuration users john > set roles= basic basic2 test_role1 test_role2 hostname:configuration users john > set roles=basic roles = basic (uncommitted) hostname:configuration users john > commit hostname:configuration users > select john hostname:configuration users john > show Properties: logname = john type = local uid = fullname = initial_password = ************* require_annotation = false roles = basic kiosk_mode = false kiosk_screen = status/dashboard Children: exceptions => Configure this user's exceptions preferences => Configure user preferences