how to create user with password in pgadmin code example
Example 1: postgres create admin user with password
sudo -u postgres createuser -s -i -d -r -l -w <>
sudo -u postgres psql -c "ALTER ROLE <> WITH PASSWORD '<>';"
Example 2: create user and password postgres
dropuser username