---
title: changepassword
description: Canonical makes open source secure, reliable and easy to use, providing
  support for Ubuntu and a portfolio of enterprise-grade technologies. Founded in
  2004, Canonical operates globally with team members in over 80 countries.
url: https://canonical-com-2950.demos.haus/maas/docs/changepassword?format=md
---

*Submit*

# changepassword

Change a MAAS user’s password.

```
maas changepassword [-h] [--database DATABASE] [username]
```

#### Positional arguments

| Argument | Effect |
| --- | --- |
| username | Username to change password for; by default, it’s the |
|  | current username. |

#### Command-line options

| Option | Effect |
| --- | --- |
| -h, --help | show this help message and exit |
| –database DATABASE | Specifies the database to use. Default is “default”. |

---

[Previous

boot-source](https://canonical-com-2950.demos.haus/maas/docs/boot-source)
[Next

commissioning-scripts](https://canonical-com-2950.demos.haus/maas/docs/commissioning-scripts)

Last updated 1 year, 5 months ago. [Help improve this document in the forum](https://discourse.maas.io/t/changepassword/11380).
