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

# sk167338 - Radius users connect to bash3.1$ shell instead of an expert shell

| Property | Value |
|----------|-------|
| Solution ID | sk167338 |
| Date Created | 2020-06-11 |
| Last Modified | 2020-06-17 |
| Technical Level | General |
| Products | Security Gateway, Security Management Server, Multi-Domain Security Management Server |
| Versions | R82.10, R82, R81.20, R82.10, R82, R81.20, R82.10, R81.20, R82 |
| OS | Gaia |

## Symptoms

- * Radius users connecting to Gaia device via SSH with the default shell `/bin/bash` receive `bash3.1$` shell instead of `[Expert@FW01:0]#`

* `[Expert@FW01:0]# cd /home/_nonlocl
  -bash: cd: /home/_nonlocl: No such file or directory`

* `[Expert@FW01:0]# cd /home/_nonlocl`  

  `

  No content when checking with the list command.`  
  `
  [Expert@FW01:0]# ls -la
  `

## Cause

The `# /home/_nonlocl` directory was removed by incident with all the basic content.

<br />

## Solution

1. Create the missing directory:   

   `[Expert@FW01:0]# mkdir /home/_nonlocl`  
   `[Expert@FW01:0]# chmod 700 /home/_nonlocl`  
   `[Expert@FW01:0]# cd /home/_nonlocl`  

2. Create the basic content:  

   `[Expert@FW01:0]# touch .bashrc`  
   `[Expert@FW01:0]# touch .bash_profile`  
   `[Expert@FW01:0]# touch .bash_logout`  

3. Assign permissions:  

   `[Expert@FW01:0]# chmod 644 .bashrc`  
   `[Expert@FW01:0]# chmod 644 .bash_profile`  
   `[Expert@FW01:0]# chmod 644 .bash_logout`  

4. Copy the content for each file from a working Gaia device r of the same version.  
   Note: If any additional configuration were added to the *.bashrc* file, like aliases etc., the information is not recoverable.  

5. Log in with the Radius user

---

# 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
