Authentication

This section describes:

  • How to change your Gaia login password.

  • How to enable and configure Two-Factor Authentication for Gaia login.

Changing Your Gaia Login Password

A Gaia user can change their Gaia login password - in Gaia Portal or Gaia Clish.

Two-Factor Authentication for Gaia Login

Watch the Video

Two-Factor Authentication (2FA) adds an additional authentication factor to the Gaia login flow using a time-based authentication app.

When enabled, 2FA protects all logins to the Gaia operating system:

  • Gaia Portal.

  • All CLI shells for a remote login (over SSH or Telnet) and the local login (through a console port or LOM Card):

    For more information about these CLI shells, see Users.

    Important - 2FA protects only the Normal boot mode and the Debug boot mode.

    2FA does not protect the Maintenance boot mode to make sure you can access the operating system to troubleshoot various issues.

    • Gaia Clish (/bin/cli.sh).

    • Gaia gClish (/usr/bin/gclish, /bin/clish) on Scalable Platforms.

    • Expert mode - Bourne Again shell (/bin/bash).

    • C shell (/bin/csh).

    • Turbo C shell (/bin/tcsh).

    • Bourne shell (/bin/sh).

    • Terminal shell from Gaia Portal.

  • RESTful API access.

You can configure the Two-Factor Authentication settings in these ways:

  • In Gaia Portal (described below).

  • In Gaia Clish (described below).

  • With Gaia RESTful API (see Working with Gaia RESTful API > in the API reference, see the chapter "Users Management" > sections "Users" and "Passwords Control").

Enabling Two-Factor Authentication for Specific Users

Part 1 of 2 - Forcing Two-Factor Authentication for specific users

Follow the applicable procedure in Gaia Portal or Gaia Clish / Gaia gClish.

Part 2 of 2 - First login experience of a user with the forced Two-Factor Authentication (or newly generated authentication keys)

This part describes the user experience in these scenarios:

  • An administrator forced Two-Factor Authentication for a specific user or all users, and the user did not generate Two-Factor Authentication keys yet.

  • An administrator generated new Two-Factor Authentication keys for a specific user.

Enabling Two-Factor Authentication for the Current User

Generating New Two-Factor Authentication Keys

An administrator can generate new 2FA keys for a specific user.

Follow the applicable procedure in Gaia Portal or Gaia Clish / Gaia gClish.

Disabling Two-Factor Authentication for Specific Users

Follow the applicable procedure in Gaia Portal or Gaia Clish / Gaia gClish.

Part 1 of 2 - Disabling the forced Two-Factor Authentication for a specific user

Part 2 of 2 - Disabling Two-Factor Authentication by the specific user

Disabling Two-Factor Authentication for All Users

Follow the applicable procedure in Gaia Portal or Gaia Clish / Gaia gClish.

Part 1 of 2 - Disabling the forced Two-Factor Authentication for all users

Part 2 of 2 - Disabling Two-Factor Authentication by the specific user

Disabling Two-Factor Authentication for the Current User

Follow the applicable procedure in Gaia Portal or Gaia Clish / Gaia gClish.

Gaia Clish / Gaia gClish Syntax for Two-Factor Authentication

The applicable procedures appear above in the corresponding sections.

Troubleshooting