$ createuser jira --interactive
Shall the new role be a superuser? (y/n) n
Shall the new role be allowed to create databases? (y/n) y
Shall the new role be allowed to create more new roles? (y/n) n
$ createuser confluence --interactive
$ createuser bamboo --interactive
$ createuser bitbucket --interactive
CODE
또는 psql 프롬프트에서도 가능
# CREATE USER confluence WITH ENCRYPTED PASSWORD 'secret123';
postgres=# ALTER ROLE jira WITH PASSWORD 'password' ;
postgres=# ALTER ROLE confluence WITH PASSWORD 'password'
postgres=# ALTER ROLE bitbucket WITH PASSWORD 'password';
postgres=# ALTER ROLE bamboo WITH PASSWORD 'password';