Support Center > Search Results > SecureKnowledge Details
Newly configured user (with UID that is not 0) is not able to log in from Gaia Clish to Expert mode on VSX Gateway
Symptoms
  • Newly configured user (with UID that is not 0) is not able to log in from Gaia Clish to Expert mode on VSX Gateway:

    1. Create a new user in Gaia Clish with UID that is not 0 and with default shell /etc/cli.sh.

      Example:
      HostName:0> set user Test uid 106 homedir /home/test
      HostName:0> set user Test password ***
      HostName:0> add rba user Test roles adminRole
      HostName:0> set user Test shell /etc/cli.sh
      HostName:0> save config
    2. Connect to Gaia OS over SSH / console and log in with the newly configured user.

    3. Set an Expert mode password:

      HostName:0> set expert-password
      ... ...
      HostName:0> save config
    4. Log in from Gaia Clish to Expert mode:

      HostName:0> expert
    5. The expected default message is displayed, but the shell does not change from Gaia Clish to Expert mode::

      Warning! All configuration should be done through clish
      You are in expert mode now.

      HostName:0>
  • /var/log/messages file shows the following messages:

    HostName clish[PID1]: cmd by mnemonic: Start executing : expert (cmd md5: ...)
    HostName clish[PID1]: cmd by mnemonic: Processing : expert (cmd md5: ...)
    HostName clish[PID2]: CliExec_moreargs: INSTANCE_VSID is 0
    HostName clish[PID2]: Failure setting current vrfid. vrfid is 0.
  • The above issue does not occur if before logging in from Gaia Clish to Expert mode, the VSX Mode is disabled:
    HostName:0> set vsx off

  • The above issue does not occur if a new user is created with UID 0.

  • The above issue does not occur if the default shell for the newly configured user is set to /bin/bash.

Cause

Gaia Clish fails to switch from the context of VS0 to the same context of VS0.


Solution
Note: To view this solution you need to Sign In .