Logo

EcoRouter

EcoNAT

EcoQOE

EcoBypass

English

  • Release Notes_EN
  • Create and remove user accounts EcoNAT Documentation / Quick system start / Create and remove user accounts

    At any time of configuration, you can create a user (in the configuration mode). Users are created with the command create user <username> level <permission> secret <password> “<password>”.

    Permissions (level):

    • 0 – view only;
    • 3 – the ability to execute the command write;
    • 4 – editing and loading configuration;
    • 5 – saving configuration with specific name, but not applying it;
    • 8 – applying configuration, run/shutdown EcoNAT;
    • 15 – full access, including user management.

    Password submission types  (secret):

    • 0 – plain text;
    • 5 – SHA-256 w/salt.

    The user information in the configuration is always displayed with encrypted password (type 5).

    Also you can create a user by going to the system users branch of a configuration tree. Command syntax in this case would be: <username> level <permission> secret <password> “<password>”.

    EXAMPLE:

    MyEcoNAT:1:# create user myuser level 15 secret 0 “mypassword”
    MyEcoNAT:2:# system users
    MyEcoNAT:3:system.users# user1 level 5 secret 0 “password1”
    MyEcoNAT:3:system.users# show
    users {
    user admin level 15 secret 5 5$00$p2c.IaryKF7jSpS1ZKnnmXydvG3AURTTQvJYl52R2s/
    user myuser level 15 secret 5 5$00$p2c.IaryKF7jSpS1ZKnnmXydvG3AURTTQvJYl52jgfhgfhg
    user user1 level 5 secret 5 5$00$p2c.IaryKF7jSpS1ZKnnmXydvG3AURTTQvJYl52mXydvS12
    }
    The same command is used to change user configuration, including password.

    To change the level of user permission access, it is not necessarily to change its configuration. You may use the command grant <username> <permission>. Changes to user permissions take effect immediately after entering the command.

    MyEcoNAT:4:# grant user1 8
    Use no user <username> command to remove a user.
    MyEcoNAT:1:# no user myuser
    MyEcoNAT:2:# system users
    MyEcoNAT:3:system.users# show 
    users {
    user admin level 15 secret 5 5$00$p2c.IaryKF7jSpS1ZKnnmXydvG3AURTTQvJYl52R2s/
    }
    If  user password is lost, the password can be changed, for performing that you should connect to EcoNAT serial console through port "Console" or "COM", when booting press [i]  button. After that console is loaded with a CHPASS username. In this console mode, you may change user passwords and save the settings.