CmdID

CmdID / Commands

createuser

Create a PostgreSQL user (role). tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Create a user interactively

createuser --interactive usernameIdentify

Create a user with no special rights

createuser usernameIdentify

Create a superuser

createuser --superuser usernameIdentify

Create a user allowed to create databases, manage roles, and prompt for a password

createuser --createdb --createrole --pwprompt usernameIdentify

Create a user without the ability to create databases or manage roles

createuser --no-createdb --no-createrole usernameIdentify