| От | Richard Poole |
|---|---|
| Тема | Re: Can you help a newbie? |
| Дата | |
| Msg-id | 20010207132347.C6465@office.vi.net обсуждение исходный текст |
| Ответ на | Can you help a newbie? ("Jamie Bumsted" <jbumsted@evertek.net>) |
| Список | pgsql-general |
On Wed, Feb 07, 2001 at 06:53:13AM -0600, Jamie Bumsted wrote: > Hi All, > I am new to pgsql, I have inherited a database with no documentation, i.e. > nobody knows the passwords for any of the database accounts. Anybody have > any ideas on how to change the passwords without first knowing the > passwords? You can edit your pg_hba.conf to allow local access with no passwords (add a line like "local all trust" above other non-comment lines) and then connect to the database as the database superuser (usually "postgres") and use "alter user" to change the passwords to whatever you like. Don't forget to change pg_hba.conf back afterwards. Richard
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера