---
title: "How to change root password when deploying OP5 Monitor in Azure"
description: "Changing the root password is necessary to access the OP5 Portal when deploying OP5 Monitor in Azure. This guide explains how to SSH into the system and update the root password for portal login."
url: "https://docs.itrsgroup.com/docs/faq/op5/360020055754-op5-monitor-how-to-change-root-password-when-deploying-op5-monitor-in-azure/index.html"
---
## Background

When spinning up a virtual OP5 Monitor system in Azure marketplace, the root password is not set. A root password is needed to use the OP5 Portal to update the system, configure mail services and load a license.

**NOTE**: It is possible to do all these tasks from the command line without the root password, but it is out of scope for this article.

## Scope

The scope of this article is to describe how to change the root password, so it is possible to login to the OP5 Portal. How to use portal and command-line is described in the OP5 manual and other how-tos. The guide assumes that you have a running system and that you have the Azure user/password or SSH certificate to login. This was created when the system was initialized.

## Step-by-step guide to change the root password

1. SSH to your OP5 Monitor system
   On windows: Download putty [here](http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html)
   Connect to your op5 Monitor system

   On UNIX like systems i.e. :

   ```
   # ssh -l azureuser <ipadress>
   ```

   Accept the new hosts RSA key by entering yes

2. Run the command to change the root password

   ```
   $ sudo passwd root
   ```

   Congratulations, now you have changed the root password.

3. Now you can log in to the portal.


