Updating README.md

This commit is contained in:
Noah L. Schrick 2022-04-26 19:37:42 -05:00
parent 3a6e65a2f2
commit 3ed40b4a45

View File

@ -25,15 +25,20 @@ An example use of this is:
#### Add PSQL users and alter permissions #### Add PSQL users and alter permissions
Log in to the Postgres user Log in to the Postgres user
sudo su postgres
Then connect to the PSQL terminal
psql
Now create the user and adjust permissions
CREATE USER ag_gen;
sudo su postgres
Then connect to the PSQL terminal
psql
Now create the user and adjust permissions
CREATE USER ag_gen;
ALTER USER ag_gen WITH SUPERUSER; ALTER USER ag_gen WITH SUPERUSER;
ALTER USER ag_gen WITH login; ALTER USER ag_gen WITH login;
ALTER USER ag_gen WITH ENCRYPTED PASSWORD '8PZQc79NUZ3FjqSB'; ALTER USER ag_gen WITH ENCRYPTED PASSWORD '8PZQc79NUZ3FjqSB';
Repeat, using root and your local user name in place of the ag gen user. Repeat, using root and your local user name in place of the ag gen user.
Note, if you change the password, be sure to change the passwords in the config.ini files. Note, if you change the password, be sure to change the passwords in the config.ini files.