---
name: "pgagroal-admin"
section: "1"
platform: "linux"
package: "pgagroal"
version: "1.6.0-1+b1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/pgagroal-admin"
---

# pgagroal-admin(1)

Administration utility for pgagroal

## NAME

pgagroal-admin - Administration utility for pgagroal

## SYNOPSIS

pgagroal-admin \[ -f FILE \] \[ COMMAND \]

## DESCRIPTION

pgagroal-admin is an administration utility for pgagroal.

## OPTIONS

- **-f,***--file* **FILE**

  Set the path to a user file

- **-U,***--user* **USER**

  Set the user name

- **-P,***--password* **PASSWORD**

  Set the password for the user

- **-g, --generate**

  Generate a password

- **-l, --length**

  Password length

- **-V, --version**

  Display version information

- **-?, --help**

  Display help

## COMMANDS

- **master-key**

  Create or update the master key. The master key will be created in the pgagroal user home directory under ~/.pgagroal

- **add-user**

  Add a user

- **update-user**

  Update a user

- **remove-user**

  Remove a user

- **list-users**

  List all users

## REPORTING BUGS

pgagroal is maintained on GitHub at *https://github.com/agroal/pgagroal*

## COPYRIGHT

pgagroal is licensed under the 3-clause BSD License.

## SEE ALSO

[pgagroal.conf(5)](/pgagroal.conf/5.md), [pgagroal\_hba.conf(5)](/pgagroal_hba.conf/5.md), [pgagroal\_databases.conf(5)](/pgagroal_databases.conf/5.md), [pgagroal(1)](/pgagroal/1.md), [pgagroal-cli(1)](/pgagroal-cli/1.md)
