Re: createuser withpassword

Поиск
Список
Период
Сортировка
От Joel Burton
Тема Re: createuser withpassword
Дата
Msg-id Pine.LNX.4.21.0105041731590.3834-100000@olympus.scw.org
обсуждение исходный текст
Ответ на createuser withpassword  ("Ligia Pimentel" <lmpimentel@yahoo.com>)
Список pgsql-admin
On Sun, 29 Apr 2001, Ligia Pimentel wrote:

> I want to create a user but I want to assign a password to it from the
> comand line, I don't want it to be prompted. Can it be done?

Without messing w/ echoing the password with appropriate newlines, it
doesn't seem possible with createuser.

Instead:
   psql -c "CREATE USER foozle WITH PASSWORD 'blobby'" template1

HTH,
--
Joel Burton   <jburton@scw.org>
Director of Information Systems, Support Center of Washington


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

Предыдущее
От: "áÎÄÒÅÊ íÉËÕÌÏ×"
Дата:
Сообщение: bugs or ? in PostgreSQL 7.1
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: createuser withpassword