Re: Change user password

Поиск
Список
Период
Сортировка
От Scott Marlowe
Тема Re: Change user password
Дата
Msg-id dcc563d10812092043o48465a6bj1ce16182c3dda7ca@mail.gmail.com
обсуждение исходный текст
Ответ на Change user password  ("Dan Scott" <danieljamesscott@gmail.com>)
Список pgsql-admin
On Fri, Dec 5, 2008 at 8:42 AM, Dan Scott <danieljamesscott@gmail.com> wrote:
> Hi,
>
> Is is possible to modify a user password using a command line script?
> I know about the ALTER USER command from within the client, but this
> looks like it's quite insecure, storing the password in the history. I
> know it's possible to insert the encrypted password with ALTER USER
> but that means generating the hash elsewhere. A simple 'alteruser -P
> username' which then prompts for the user password would be nice. Does
> this exist?

\password from the psql prompt does that.

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

Предыдущее
От: Quan Zongliang
Дата:
Сообщение: Re: Change user password
Следующее
От: Michael Leshchenko
Дата:
Сообщение: File system level backup with more than one cluster folders