How to create a new user with a password in PostgreSQL in ubuntu 18.04
First you have to switch to postgres user. See the output. Then type the command given below. See the output. Just enter a user name (“john”) as you wish. Press enter. Then system will ask to create this user with super user privileges. If you type “y” user will be created with super user … Read more