systemctl start Datenbank psql -U postgres -c "CREATE EXTENSION adminpack;" postgres=# CREATE USER 'user' WITH PASSWORD 'password'; postgres=# CREATE DATABASE myproject; postgres=# GRANT ALL PRIVILEGES ON DATABASE myproject TO 'user'; postgres=# \q