Hi!

On Wed, Mar 15, 2017 at 6:30 PM, shubham dubey <sdubey...@gmail.com> wrote:
> Now when I am trying these commands I am getting following error
> $postgres -c "psql -d template1 -c \"create user engine password
> 'engine';\""
> FATAL:  -c psql -d template1 -c "create user engine password 'engine';"
> requires a value

You lost "su" here:

 su postgres -c "psql -d template1 -c \"create user engine password 'engine';\""

Shmuel
_______________________________________________
Devel mailing list
Devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/devel

Reply via email to