forked from UTulsa-Research/ag_gen
Updating README.md
This commit is contained in:
parent
3a6e65a2f2
commit
3ed40b4a45
15
README.md
15
README.md
@ -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.
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user