---
title: "Amplia command: **hash-root-pass**"
description: "Amplia command hash-root-pass, which computes a salted hash of the root password, read from stdin, for root authentication mode."
canonical: "https://docs.lacunasoftware.com/en-us/articles/amplia/on-premises/tool/hash-root-pass"
locale: "en"
product: "Amplia"
last_updated: "2026-10-12"
---

# Amplia command: **hash-root-pass**

## Name

`hash-root-pass` - Computes a salted hash for a given root password

## Syntax

```sh
dotnet Lacuna.Amplia.Site.dll -- hash-root-pass
```

Or, on Docker:

```sh
docker run -i lacunasoftware/amplia:5.0 -- hash-root-pass
```

## Description

The `hash-root-pass` command is meant to be used with *root authentication mode*. Use it to compute a salted hash of the desired
root password, and then set the hash on the `General__RootPasswordHash` setting.

The password is read from the `stdin`.

## See also

* [Amplia command-line tool](https://docs.lacunasoftware.com/en-us/articles/amplia/on-premises/tool)
* Root authentication mode
