Skip to content

use-postgresql-with-django-flask doesn't ask for password #4

Description

@ewilson

sudo -u postgres createuser -s $USER

# Create a new user 
$ sudo -u postgres createuser -s $USER 
Enter password for new role:
Enter it again:
Shall the new role be a superuser? (y/n) n
Shall the new role be allowed to create databases (y/n) y
Shall the new role be allowed to create more new roles? (y/n) n

This isn't what happened for me. On Ubuntu 14.04, it didn't ask any questions, just created a user. How do I set the password?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions