Создать роль в PSQL с паролем
# sudo su - postgres
Condemned Crossbill
# sudo su - postgres
CREATE ROLE username NOINHERIT LOGIN PASSWORD password;
CREATE ROLE <name> WITH <list of permissions>;
CREATE ROLE admin WITH CREATEDB CREATEROLE;