createuser
Create a PostgreSQL user (role). tldr-pages
On several platforms
Several platforms
Create a user interactively
createuser --interactive usernameIdentifyCreate a user with no special rights
createuser usernameIdentifyCreate a superuser
createuser --superuser usernameIdentifyCreate a user allowed to create databases, manage roles, and prompt for a password
createuser --createdb --createrole --pwprompt usernameIdentifyCreate a user without the ability to create databases or manage roles
createuser --no-createdb --no-createrole usernameIdentify