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 OS comes with 3 default users:   - The “admin” user:   That provides full access to all features and functions, on the Web Interface as well as on the CLI. It can login via the Console, via SSH, WebUI and API. From the CLI, admin user ...
    • 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 ...
    • Nodegrid Manager Installation in ESXi 6

      Nodegrid Manager software is installed from an ISO file. The installation procedure is a three-stage process:  Creating a virtual machine; Booting from the ISO file in order to install the software; Restarting and booting from the newly created ...
    • Nodegrid Manager Installation in ESXi 5

      Nodegrid Manager software is installed from an ISO file. The installation procedure is a three-stage process:  Creating a virtual machine; Booting from the ISO file in order to install the software; Restarting and booting from the newly created ...
    • How to Telnet and SSH to the Nodegrid Serial Ports

      Note: by default, Telnet access is turned off with your Nodegrid Serial Console. Authorized users can use Telnet or SSH to connect directly to the console of a managed device if all of the following are true: Telnet / SSH protocol is enabled under ...