# Add database users > Create read-only or read-write Postgres users on an Orchard managed database for reporting tools and other clients. Source: https://docs.orchard.hackclub.com/data/users/ Apps in the project connect as the owner user, which owns the database and can change anything in it. To give a tool or a person a login with less access, add a database user. For example, create a read-only user for a reporting tool, so that it cannot change data even if its credentials leak. You cannot remove the owner user. ## Prerequisites - Edit access to the project: the Admin or Member [project role](/teams/organizations/#project-roles). - A dedicated database. ## Add a user **Dashboard** 1. Open the database. 2. Go to **Settings** > **Users**. 3. Select **Add user**. 4. In **Name**, enter a name for the user. 5. In **Access**, select **Read only** or **Read and write**. 6. Select **Add user**. 7. Copy the **Password** and **Connection string**. 8. Select **Done**. **CLI** ```sh orchard db user create reporting --access read ``` The command prints the password once. The `--access` flag accepts `read` or `write`. The default is `read`. This command needs [a token with the deploy scope](/account/tokens/#token-access-levels). > **Caution** > > Orchard shows the password one time. If you lose the password, remove the user and add it again. ## Usernames A username must follow these rules: - It has 2 to 41 characters. - It starts with a lowercase letter. - It contains only lowercase letters, digits, and underscores. - It does not start with `pg_` or `cnpg_`. - It is not the owner user or another reserved name. ## List users **Dashboard** 1. Open the database. 2. Go to **Settings** > **Users**. **CLI** ```sh orchard db user list ``` ## Remove a user Removing a user disconnects all sessions that use the login, and the login stops working. **Dashboard** 1. Open the database. 2. Go to **Settings** > **Users**. 3. On the user, select the delete icon. 4. Select **Remove user**. **CLI** ```sh orchard db user rm ``` ## Related resources - [Read replicas](/data/replicas/) - Point a read-only user at a standby to keep reporting off the primary. - [`orchard db user` reference](/reference/cli/#db) - Review the user commands and their flags.