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

# sk181626 - "show configuration user" command fails with "Segmentation fault" on the Security Management Server

| Property | Value |
|----------|-------|
| Solution ID | sk181626 |
| Date Created | 2023-11-07 |
| Last Modified | 2024-01-14 |
| Technical Level | General |
| Products | Security Gateway, Security Management Server, Multi-Domain Security Management Server |
| Versions | R81.20, R81.10 (EOS), R81.20, R81 (EOS), R81.10 (EOS), R81 (EOS), R81 (EOS), R81.10 (EOS), R81.20 |
| OS | Gaia |

## Symptoms

- * The Gaia Clish commands "`show configuration user`" and "`show configuration`" fail with a "`Segmentation fault`" error on the Security Management Server.

  **Example**:
  `
  HostName> show configuration user`  
  `
  add user cpsho_user uid 208 homedir /home/cpsho_user`  
  `
  set user cpsho_user gid 100 shell /etc/cli.sh<`  
  `
  set user cpsho_user password-hash XXXXXX`  
  `
  ... ... ...`  
  `
  `**Segmentation fault**   
  `
  `
* The `/var/log/messages` file contains `segfault`:

  **Example**:
  `
  kernel:clish[xxxxx]: `**segfault**` at 0 ip 00000000f5078a5f sp 00000000ffeeb3b0 error 4 in`  
  ` libcli_passwd.so[f5072000+e000]
  `

## Cause

An administrator configured one or more of the users incorrectly.

<br />

## Solution

This problem was fixed. The fix is included starting from:

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

Check Point recommends to always upgrade to the [Recommended version](https://support.checkpoint.com/results/sk/sk95746) ([](https://support.checkpoint.com/product/73)[Security Management Server](https://support.checkpoint.com/product/184) / [Multi-Domain Security Management Server](https://support.checkpoint.com/product/166) / [SmartConsole](https://support.checkpoint.com/product/191)).

If you choose not to upgrade, [contact Check Point Support](https://www.checkpoint.com/support-services/contact-support/) to get a Hotfix for your version.

A Support Engineer will make sure the Hotfix is compatible with your environment before providing it.  
For faster resolution and verification, collect the [CPinfo](https://support.checkpoint.com/results/sk/sk92739) file from the Management Server involved in the case.

**Hotfix installation instructions:**   
Refer to [sk168597 - How to install a Hotfix](https://support.checkpoint.com/results/sk/sk168597).

<br />

*** ** * ** ***

<br />

### Workaround

This immediate workaround is available:

1. Connect to the command line on the Management Server.
2. Log in to the Expert mode.
3. Examine the user configuration in the Gaia Database:  
   `grep "passwd:<UserName>" /config/active`

#### Example of a Correct User Configuration

This example shows the correct configuration entries for the username "`cpsho_user`":

```
[Expert@MGMT:0]# grep "passwd:cpsho_user" /config/active
passwd:cpsho_user t
passwd:cpsho_user:uid 1000
passwd:cpsho_user:gid 100
passwd:cpsho_user:homedir /home/USER1
passwd:cpsho_user:passwd XXXXXXXXX
passwd:cpsho_user:realname USER1
passwd:cpsho_user:shell /etc/cli.sh
```

#### How to add a missing entry to a user configuration

If an entry is missing, use Gaia Clish commands to add it.

In the **example** below, the "`homedir`" entry is missing for the "`cpsho_user`":

```
[Expert@fw1:0]# grep "passwd:cpsho_user" /config/active
passwd:cpsho_user t
passwd:cpsho_user:uid 1000
passwd:cpsho_user:gid 100
passwd:cpsho_user:passwd XXXXXXXXX
passwd:cpsho_user:realname cpsho_user
passwd:cpsho_user:shell /etc/cli.sh
passwd:cpsho_user:lastchg 1675072263
```

In the **example** above, use these Gaia Clish commands to configure a home directory:

```
MGMT> set user cpsho_user homedir /home/cpsho_user
MGMT> save config
```

---

# 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
