Re: Post Install / Secure PostgreSQL

Поиск
Список
Период
Сортировка
От Richard Broersma
Тема Re: Post Install / Secure PostgreSQL
Дата
Msg-id AANLkTikm5nbGPQKmwAPdAfi7-_bjwDissnP3QxJ2pnwB@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Post Install / Secure PostgreSQL  (Carlos Mennens <carlos.mennens@gmail.com>)
Ответы Re: Post Install / Secure PostgreSQL  (Carlos Mennens <carlos.mennens@gmail.com>)
Список pgsql-general
On Tue, Sep 14, 2010 at 9:50 AM, Carlos Mennens
<carlos.mennens@gmail.com> wrote:
> Secondly I am unable to find any information in the docs that show me
> how to set just the user password for 'carlos'. In MySQL I would use:
>
> SET PASSWORD FOR 'carlos'@'localhost' = PASSWORD('newpass');


You'd want to use "ALTER USER"

http://www.postgresql.org/docs/8.4/interactive/sql-alteruser.html

So:

ALTER USER carlos WITH ENCRYPTED PASSWORD 'password';



--
Regards,
Richard Broersma Jr.

Visit the Los Angeles PostgreSQL Users Group (LAPUG)
http://pugs.postgresql.org/lapug

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

Предыдущее
От: Carlos Mennens
Дата:
Сообщение: Re: Post Install / Secure PostgreSQL
Следующее
От: Alan Hodgson
Дата:
Сообщение: Re: Post Install / Secure PostgreSQL