psql and security

Поиск
Список
Период
Сортировка
От Tatsuo Ishii
Тема psql and security
Дата
Msg-id 20010921195627C.t-ishii@sra.co.jp
обсуждение исходный текст
Ответы Re: psql and security
Re: psql and security
Список pgsql-hackers
Hi,

This is not a real security issue but it seems not very appropreate
behavior for me.

$ psql -U foo test
Password: XXX

Welcome to psql, the PostgreSQL interactive terminal.

Type:  \copyright for distribution terms      \h for help with SQL commands      \? for help on internal slash commands
    \g or terminate with semicolon to execute query      \q to quit
 

test=> \c - postgres
You are now connected as new user postgres

As you can see, psql reconnect as any user if the password is same as
foo. Of course this is due to the careless password setting, but I
think it's better to prompt ANY TIME the user tries to switch to
another user. Comments?
--
Tatsuo Ishii


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

Предыдущее
От: Karel Zak
Дата:
Сообщение: Re: Multibyte regression tests broken?
Следующее
От: Tatsuo Ishii
Дата:
Сообщение: Re: Multibyte regression tests broken?