# Reset the root password.

## To reset the root and user password

### To reset the root password in LINUX

1. Log on as root directory. This can be achieved by typing “su” or “su root” at the terminal prompt.
2. Enter the current root password. Don’t be alarmed if as you type nothing is displayed at the prompt. This is intentional for security reasons.

> ```
> [neev@neevcloud~ ]: $ ssh root@ipaddress
> neev@neevcloud:- su
> neev@neevcloud:- su root
> ```

3. Type the command “passwd” at the root prompt.

> ```
> root@neevcloud: # passed
> Enter NEW UNIX password:
> ```

4. Enter your new password and repeat it at the confirmation prompt.

> ```
> root@neevcloud: # passed
> Enter NEW UNIX password:
> Retype NEW UNIX password:
> Password updated successfully.
> ```

5. Log out using the **“exit”** command.

### To change the user password in LINUX

**Please follow the below steps:**

1\. Type the command “passwd” followed by username at the root prompt.

Please note that **“user”** must be replaced by your user name. To know your user name, type **whoami** in the terminal.

> ```
> root@neevcloud: # passwd user
> Enter NEW UNIX password:
> Retype NEW UNIX password:
> Password updated successfully.
> ```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.neevcloud.com/neevcloud-guide/troubleshoot/reset-the-root-password..md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
