How add db users from shell script with their passwords?

From: Илья Скорик <ilya(dot)skorik(at)inprint(dot)ru>
To: pgsql-admin(at)postgresql(dot)org
Subject: How add db users from shell script with their passwords?
Date: 2008-06-03 07:54:57
Message-ID: 2dfe6d090806030054xba3b05bu5faf1de9c09e6929@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Dear community, help please.

I need to add some standard users to database together with their
standard passwords from a shell script. That the script would not ask
to enter passwords manually for each user. How it can be made?

How I have understood, createuser comand does not allow to make it?

In advance thanks.

--
--
С уважением, Илья Скорик
специалист
Inprint - автоматизация вашего издательства

Yours faithfully, Ilya Skorik
the expert
Inprint - automation of your publishing house

e-mail: ilya(dot)skorik(at)inprint(dot)ru
web: http://www.inprint.ru/

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Medi Montaseri 2008-06-03 08:28:44 Re: How add db users from shell script with their passwords?
Previous Message Vishal Arora 2008-06-03 03:54:33 Re: statistics collector Log message