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

# sk182185 - Gaia OS contains a built-in user called 'cp_ender'

| Property | Value |
|----------|-------|
| Solution ID | sk182185 |
| Date Created | 2024-04-07 |
| Last Modified | 2024-10-22 |
| Technical Level | General |
| Products | Security Gateway, Security Management Server, Scalable Platforms, Multi-Domain Security Management Server |
| Versions | R81.20, R81.10 (EOS), R81.20, R81 (EOS), R81.20, R81.10 (EOS), R81 (EOS), R81.10 (EOS), R81 (EOS), R81 (EOS), R81.10 (EOS), R81.20 |
| OS | Gaia |

## Symptoms

- A built-in user called '`cp_ender`' may appear in Gaia OS after an upgrade to a version R80.40 or higher.

## Cause

The pre-defined user "`cp_ender`" was used for Gaia REST API in older versions.

An upgrade does not remove this user.

In versions R80.40 and higher, this user cannot log in (it does not have a password) and it does not have any permissions in Gaia OS. This user cannot and does not do anything.

## Solution

This problem was fixed. The fix is included in:

* [Jumbo Hotfix Accumulator for R81.20](https://sc1.checkpoint.com/documents/Jumbo_HFA/R81.20/Default.htm) starting from Take 70
* [Jumbo Hotfix Accumulator for R81.10](https://sc1.checkpoint.com/documents/Jumbo_HFA/R81.10/Default.htm) starting from Take 152
* [Jumbo Hotfix Accumulator for R81](https://sc1.checkpoint.com/documents/Jumbo_HFA/R81/Default.htm) starting from Take 106

If you choose not to upgrade, Check Point can supply a **Hotfix** . [Contact Check Point Support](https://www.checkpoint.com/support-services/contact-support/) to get a Hotfix for this issue.  
A Support Engineer will make sure the Hotfix is compatible with your environment before providing the Hotfix.  
For faster resolution and verification, please collect [CPinfo files](http://supportcontent.checkpoint.com/solutions?id=sk92739) from the Security Management Server and Security Gateways involved in the case.

**Hotfix installation instructions:**   
Refer to [sk168597 - How to install a Hotfix](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solutionid=sk168597).

<br />

**If you choose not to upgrade** , remove the "`cp_ender`" user:

1. Connect to the command line on the Gaia OS server with an SSH client.

2. Log in to the Expert mode.

3. Check if this script exists:

   `ls -l /rest_api/scripts/generate_local_user.sh`

   If the script exists, then run it with this syntax to remove this user:

   `/rest_api/scripts/generate_local_user.sh -u`
4. If the script does **not** exist, then run these commands:

   1. Start the CLI session recording:

      `script /var/log/Remove_User_cp_ender_sk182185.txt`

      This file will contain the entire CLI session - the commands you enter and their outputs.

      For more information, see <https://linux.die.net/man/1/script>.
   2. Select all these commands, copy them, and paste them in the SSH client:

      |-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
      | `dbset passwd:cp_ender` `dbset passwd:cp_ender:shell` `dbset passwd:cp_ender:realname` `dbset passwd:cp_ender:passwd` `dbset passwd:cp_ender:homedir` `dbset passwd:cp_ender:gid` `dbset passwd:cp_ender:uid` `dbset mrma:users:user:cp_ender` `dbset mrma:users:user:cp_ender:role:adminRole` `dbset mrma:users:user:cp_ender:role:adminRole:domainname:default` `dbset mrma:users:user:cp_ender:access_mechanism:CLI` `dbset mrma:users:user:cp_ender:access_mechanism:Web` `dbset :save` `rm -rf /home/enderUser/` |

   3. Stop the CLI session recording:

      `exit`

---

# 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
