How to Add Users to NodeGrid

How to Add Users to NodeGrid

Adding new users via WebUI

  1. Log in as admin to the NodeGrid WebUI
  2. Click on Local Accounts
  3. A list of all users will be displayed on the User Names screen;
  4. Click on Add and the Local User Information screen will be displayed;
  5. Type a new user name and password and then confirm it;
  6. Optionally, check the Hash Format Password checkbox; (see Note below about Hash Format Password)
  7. Enter Account Expiration Date (optional);
  8. Optionally, check the Require password change at login time checkbox;
  9. To add the user to an available user group, just choose the group name from the box on the left and then click Add. To remove a user group from the box, just select it and click Remove;
  10. Click Save.


Hash Format Password

In case of scripts, admin users prefer to use password in hash format. This way the scripts don’t contain/display the actual passwords of the users.

In order to have a password in a hash format for the users when adding it via the NodeGrid WebUI, it is required to generate the hash password first on the NodeGrid shell prompt or elsewhere such as linux or a hash generator application.

There are several methods and options of hashing to generate hash passwords such as openssl, chpasswd, mkpasswd, and MD5, SHA256, SHA512, but this topic of how to generate hash passwords is not the scope of this article. Use any of your choice / preference.

Below we provide one example using openssl running on NodeGrid shell to generate the hash password. 

root@nodegrid:~# openssl passwd -1 -salt mysalt

Password:

$1$mysalt$4Lz7hS.y2V54mV2gJXEKR/

 

Once the hash password is generated, copy it and paste it on the password fields from step 4 above with Hash Format Password checkbox checked.

 

Adding new users via CLI:

1. log in as admin to the CLI (via telnet/ssh/console)

2. type the following commands:

[admin@nodegrid /]# add /settings/local_accounts/

[admin@nodegrid {local_accounts}]# set username=<username>

[admin@nodegrid {local_accounts}]# set password=<password>

[admin@nodegrid {local_accounts}]# save

 

If hash password is desired, then type the following:

[admin@nodegrid /]# add /settings/local_accounts/

[admin@nodegrid {local_accounts}]# set username=<username>

[admin@nodegrid {local_accounts}]# set password=$1$mysalt$4Lz7hS.y2V54mV2gJXEKR/ hash_format_password=yes

[admin@nodegrid {local_accounts}]# save

    • Related Articles

    • Default Users of the NodeGrid

      The NodeGrid software comes with 2 default users: - username: admin / password: admin - username: root / password: root   The admin user has full access and control on the Web Interface and CLI. The access to the NodeGrid software can be done via ...
    • How to Recover/Reset Password of Admin or Root Users

      Case #1 The admin password was changed and you don’t remember it, but root password is still the default. Log in as root via NodeGrid console port, type its default password root. At the shell prompt, type passwd admin and enter the new password. You ...
    • What is the Nodegrid Appliances' Harmonized Code and ECCN Number?

      The Nodegrid family of appliances have the following HS code and ECCN information: Nodegrid Serial Console (NSC) Nodegrid Bold (NGB) Nodegrid [CI] (NCI) Nodegrid Flex (NFX) Nodegrid Service Processor (NSP) Nodegrid USB (NGU) Harmonized code HS ...
    • How Do I Upgrade the Software of My Nodegrid?

      Steps for the Nodegrid software upgrade via WebUI 1. Once you get the software from ZPE Systems (from your Sales representative), save the ISO file:       a. into your PC/laptop       b. into a Remote Server such as FTP, SSH, HTTP       c. into the ...
    • Where Can I Find the Nodegrid User Manual?

      You can find the latest and previous versions of the Nodegrid User Manual here: https://www.zpesystems.com/resources/product-resources/user-manuals/