# Gaia OS contains a built-in user called 'cp\_ender'

**Solution ID:** sk182185  
**Technical Level:** Basic  
**Product:** Maestro HyperScale Firewall, Multi-Domain Security Management, Scalable Chassis, Security Gateways, Security Management  
**Version:** R80.40 (EOS), R81 (EOS), R81.10 (EOS), R81.20  
**OS:** Gaia  
**Last Modified:** 2024-10-22

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

**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](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`<br>`dbset passwd:cp_ender:shell`<br>`dbset passwd:cp_ender:realname`<br>`dbset passwd:cp_ender:passwd`<br>`dbset passwd:cp_ender:homedir`<br>`dbset passwd:cp_ender:gid`<br>`dbset passwd:cp_ender:uid`<br>`dbset mrma:users:user:cp_ender`<br>`dbset mrma:users:user:cp_ender:role:adminRole`<br>`dbset mrma:users:user:cp_ender:role:adminRole:domainname:default`<br>`dbset mrma:users:user:cp_ender:access_mechanism:CLI`<br>`dbset mrma:users:user:cp_ender:access_mechanism:Web`<br>`dbset :save`<br>`rm -rf /home/enderUser/` |

3. Stop the CLI session recording:
      
      `exit`

#### NOTE

This solution has been verified for the specific scenario, described by the combination of Product, Version and Symptoms. It may not work in other scenarios.

## Article Properties

**Access Level:** General  
**Status:** Approved by TAC  
**Date Created:** 2024-04-07  
**Last Modified:** 2024-10-22
