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

# sk32576 - When running the 'passwd' command to change the password, the Expert Mode password is changed

| Property | Value |
|----------|-------|
| Solution ID | sk32576 |
| Date Created | 2007-02-14 |
| Last Modified | 2018-08-29 |
| 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 |
| Platform | Intel/PC |

## Symptoms

- When logged in as administrator and running `passwd` to change the password, the Expert Mode password is changed instead of the Standard Mode login password.

## Cause

**Changing the password in Standard Mode changes the login password.**

**Changing the password in Expert Mode changes the Expert Mode and GRUB Boot Loader password.**   

This issue occurs when an administrator's default shell has been changed to `/bin/bash.` In this shell, the administrator automatically logs into Expert Mode, and running **`passwd`** command changes the Expert Mode password and not his Standard Mode password.   

**Note:** Either of the following two methods may have been used to change the default shell of a SecurePlatform administrator:

1. Manually editing the `/etc/passwd` file in one of the advanced shells.

2. Running `chsh -s /bin/bash admin ` to change the default shell of a SecurePlatform administrator.

<br />

**Caution:** The Expert Mode provides the user with full UNIX root permissions and a full UNIX shell. **Expert Mode should be used with caution.** The flexibility of an open shell with root permission exposes the system to the possibility of administrative errors.

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