pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Илья Скорик <ilya.skorik@inprint.ru>
To: pgsql-admin@postgresql.org
Subject: How add db users from shell script with their passwords?
Date: Tue, 3 Jun 2008 11:54:57 +0400
Message-ID: <2dfe6d090806030054xba3b05bu5faf1de9c09e6929@mail.gmail.com> (raw)

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.skorik@inprint.ru
web: http://www.inprint.ru/


view thread (3+ messages)  latest in thread

Message-ID: <2dfe6d090806030054xba3b05bu5faf1de9c09e6929@mail.gmail.com>
Permalink:  ../2dfe6d090806030054xba3b05bu5faf1de9c09e6929@mail.gmail.com/
Also on:    postgresql.org/message-id/2dfe6d090806030054xba3b05bu5faf1de9c09e6929@mail.gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: ilya.skorik@inprint.ru
  Subject: Re: How add db users from shell script with their passwords?
  In-Reply-To: <2dfe6d090806030054xba3b05bu5faf1de9c09e6929@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox