Estimated Reading Time: 1 minutes|Last Updated: 11/19/2021, 7:57:43 AM

# Create User

# usage

Usage: oredge user create [username] [OPTIONS]

OPTIONS:
    --username string                  username.
    --login-type string                normal, ldap, can add multiple times.
    --gid integer                      group id, can add multiple times.
    --password string                  password, string.
    --requires-password-change bool    requires password change, true(default) or false.

GLOBAL OPTIONS:
    --help
    --show-api                         print restful api request.
    --json                             print json format.
    --config                           specify config file, default is ~/.oredge/config.

# example

  1. create user.
# oredge user create test --login-type normal --gid 1 --gid 2 --password 123456
ID: 11