Become the postgres user to create the artifactory user.
Become the postgres user to create the artifactory user.

Some pg_hba configurations don't allow the postgres user to connect to
postgres except from a Unix socket (i.e. not with TCP to localhost). So,
switching to the postgres user allows the postgres client to connect as
a local user over the Unix socket.

bbaassssiiee/artifactory