Re: How add db users from shell script with their passwords?

Поиск
Список
Период
Сортировка
От Medi Montaseri
Тема Re: How add db users from shell script with their passwords?
Дата
Msg-id 8078a1730806030128n791e9c30v254e896588875468@mail.gmail.com
обсуждение исходный текст
Ответ на How add db users from shell script with their passwords?  ("Илья Скорик" <ilya.skorik@inprint.ru>)
Ответы Re: How add db users from shell script with their passwords?  (Achilleas Mantzios <achill@matrix.gatewaynet.com>)
Список pgsql-admin
You can write a program in say Perl and use "create user bob with .....options ....encrypted password xxxxx valid until xxx " which is pretty much what createuser(1) does.

Cheers
Medi

On Tue, Jun 3, 2008 at 12:54 AM, Илья Скорик <ilya.skorik@inprint.ru> wrote:
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/

--
Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin

В списке pgsql-admin по дате отправления:

Предыдущее
От: "Илья Скорик"
Дата:
Сообщение: How add db users from shell script with their passwords?
Следующее
От: Achilleas Mantzios
Дата:
Сообщение: Re: How add db users from shell script with their passwords?