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

# sk101974 - Clish on Gaia OS crashes with 'Segmentation fault' when running 'show configuration user' command

| Property | Value |
|----------|-------|
| Solution ID | sk101974 |
| Date Created | 2014-08-07 |
| Last Modified | 2016-07-05 |
| Technical Level | Advanced |
| Products | Security Gateway, Security Management Server, Multi-Domain Security Management Server |
| Versions | R82.10, R82, R81.20, R82.10, R82, R81.20, R82.10, R82.x, R82.20, R82.x, R81.20, R82, R82.20 |
| OS | Gaia |

## Symptoms

- * Clish on Gaia OS crashes with '`Segmentation fault`' when running '`show configuration user`' command.

  *Example*:

  ```
  
  HostName> show configuration user
  add user user1 uid 208 homedir /home/user1
  set user user1 gid 100 shell /etc/cli.sh
  set user user1 password-hash XXXXXX
  ... ... ...
  Segmentation fault
  ```

* Running the Clish '`show configuration user`' command under GDB (contact [Check Point Support](http://www.checkpoint.com/services/contact/index.html) to get the GDB tool) shows the following stack:

  ```
  
  [Expert@HostName]# ./gdb /bin/clish  
  ... ... ...
  (gdb) r -c "show configuration user"
  ... ... ...
  add user USERNAME uid XXX homedir /home/USERNAME
  set user USERNAME gid YYY shell /etc/cli.sh
  set user USERNAME password-hash XXXXXX
  
  Program received signal SIGSEGV, Segmentation fault.
  0x... in showConfiguration (context=0x...) at cli_passwd.c:N
  N cli_passwd.c: No such file or directory.
  in cli_passwd.c
  (gdb) bt
  #0 0x... in showConfiguration (context=0x...) at 
  cli_passwd.c:N
  #1 0x... in InvokeHandler ()
  #2 0x... in ProcessActApi ()
  #3 0x... in shExecuteCmd ()
  #4 0x... in ProcessCommand ()
  #5 0x... in main ()
  (gdb)
  ```

## Cause

Analysis of the Gaia Database (*/config/db/initial* file) shows that the *USERNAME* , whose settings were printed when the Clish crashed, does not have a UID (or GID) configured - the following line is missing '`passwd:`*USERNAME* `:uid `*VALUE*' (or '`passwd:`*USERNAME* `:gid `*VALUE*').

## Solution

This solution requires authentication. Please log in to view the full solution.

---

# 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
