Friday, November 27, 2015

CHECKPOINT - 'command insecure' error - Gaia Clish

This article is helpful to explain how is possible solve the problem when there is an error to run a command from Clish with a length greater than 255 characters.


Cause
The character string limitation for a Gaia Clish command by default is set to 255. Any input with a longer string above will fail.
This is often the case when adding RBA roles.






Solution
Increase the limit set on the string size for input commands:
  1. Log in to Expert mode.
  2. Backup the current /etc/clishrc file:

    [Expert@HostName]# cp /etc/clishrc  /etc/clishrc_ORIGINAL
  3. Edit the current /etc/clishrc file:

    [Expert@HostName]# vi /etc/clishrc
  4. Search for this line:

    CliCommandMaxLength=255
  5. Change the number at the end of the parameter to the desired limit.
  6. Save the changes in the file and exit from Vi editor.
  7. Logout and login again
    8.   You may need to reboot the box for the command to take effect.

No comments:

Post a Comment