createuser --interactive --pwprompt At the Enter name of role to add: prompt, type the user's name. At the Enter password for new role: prompt, ... ... <看更多>
$ sudo -u postgres psql postgres # \password postgres Enter new password: After entering new password for postgres user (special kind of user on PostgreSQL), ... ... <看更多>