How to Recover/Reset NodeGrid Authentication Type

How to Recover/Reset NodeGrid Authentication Type

Situation

The NodeGrid was configured and saved with a Remote Authentication Server without any Fallback Authentication options, and the authentication server’s settings were incorrect. Now, none of the local users are able to log in, including admin and root.

  1. Have a terminal (Putty, SecureCRT) with 115200bps baud rate connected to the NodeGrid console port, or a monitor to the HDMI and a keyboard to USB port, if you have the NodeGrid Serial Console; or launch the Remote Console on the VM, if you have the NodeGrid Manager.
  2. Reboot the NodeGrid.
  3. Select Rescue Mode at the bootloader menu:
  4. The bash prompt will be presented.
  5. execute the following commands:

    bash-4.3# ln -sf /etc/pam.d/local /etc/pam.d/web

    bash-4.3# ln -sf /etc/pam.d/local /etc/pam.d/sshd

    bash-4.3# ln -sf /etc/pam.d/local /etc/pam.d/login

    bash-4.3# exit

  6. The exit command will finish the normal boot process, and present you the login prompt. You should be able to login as admin or root.
  7. After that, please login again on the web interface as admin and reconfigure the Authentication method, making sure the server’s settings are correct.