Example: Create a new user by using the command line

In this example, you will use the Connect IT 16/48 command line to create a new user, provide a password for the user, and assign the user to authentication groups.

  1. Select the device in Remote Manager and click Actions > Open Console, or log into the Connect IT 16/48 local command line as a user with full Admin access rights.

    Depending on your device configuration, you may be presented with an Access selection menu. Type admin to access the Admin CLI.

  2. At the command line, type config to enter configuration mode:

    > config
    (config)>

  3. At the config prompt, create a new user with the username user1:
    • Method one: Create a user at the root of the config prompt:
      (config)> add auth user user1
      (config auth user user1)>
    • Method two: Create a user by moving through the configuration:
      1. At the config prompt, enter auth to move to the auth node:
        (config)> auth
        (config auth)>
      2. Enter user to move to the user node:
        (config auth)> user
        (config auth user)>
      3. Create a new user with the username user1:
        (config auth user)> add user1
        (config auth user user1)>
  4. Configure a password for the user:
    (config auth user user1)> password pwd1
    (config auth user user1)>
  5. List available authentication groups:
    (config auth user user1)> show .. .. group
    
    admin
        acl
            admin
                enable true
            nagios
                enable false
            openvpn
                enable false
                no tunnels
            portal
                enable false
                no portals
            serial
                enable false
                no ports
            shell
                enable false
    
    serial
        acl
            admin
                enable true
            nagios
                enable false
            openvpn
                enable false
                no tunnels
            portal
                enable false
                no portals
            serial
                enable true
                    ports
                        0 port1
            shell
                enable false
    (config auth user user1)> 
  6. Add the user to the admin group:
    (config auth user user1)> add group end admin
    (config auth user user1)>
  7. Save the configuration and apply the change.
    (config auth user user1)> save
    Configuration saved.
    >
  8. Type exit to exit the Admin CLI.

    Depending on your device configuration, you may be presented with an Access selection menu. Type quit to disconnect from the device.