---
title: "Lacuna PSC command: **hash-root-pass**"
description: "Reference for the Lacuna PSC hash-root-pass command, which computes a salted hash of the root password for the General__RootPasswordHash setting."
canonical: "https://docs.lacunasoftware.com/en-us/articles/psc/on-premises/tool/hash-root-pass"
locale: "en"
product: "PSC"
last_updated: "2026-07-14"
---

# Lacuna PSC command: **hash-root-pass**

## Name

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

## Syntax

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

Or, on Docker:

```sh
docker run -i lacunasoftware/psc:1.2 -- 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

* [Lacuna PSC command-line tool](https://docs.lacunasoftware.com/en-us/articles/psc/on-premises/tool)
