linuxuser@linux:~$ psql
admin=> CREATE ROLE username LOGIN PASSWORD 'password';
admin=> CREATE DATABASE databasename;
admin=> GRANT username TO admin
admin=> ALTER DATABASE databasename OWNER TO username;
admin=> \q

[ ]