> Source: [sk93935](https://support.checkpoint.com/results/sk/sk93935)

# sk93935 - 'command insecure' error when executing a command in the Gaia Clish

| Property | Value |
|----------|-------|
| Solution ID | sk93935 |
| Date Created | 2013-08-01 |
| Last Modified | 2015-04-05 |
| Technical Level | General |
| Products | Security Gateway, Security Management Server |
| Versions | R82.10, R82, R81.20, R82.10, R82, R81.20, R82.x, R82.20 |
| OS | Gaia |

## Symptoms

- "`command insecure`" error when executing a command in the Gaia Clish.

## 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.

---

# Agent Instructions

This content is from the Check Point Support Center (https://support.checkpoint.com), the official knowledge base for Check Point cybersecurity products.

## Navigating This Knowledge Base

- **Complete index**: [llms.txt](https://support.checkpoint.com/llms.txt)
- **All SK articles**: [SecureKnowledge Sitemap](https://support.checkpoint.com/sitemaps/secureknowledge-sitemap-index.xml)
- **SK article URL pattern**: `https://support.checkpoint.com/results/sk/{skId}`
- **Markdown responses**: AI bot User-Agents automatically receive `text/markdown` content
