RE: Can you help a newbie?

Поиск
Список
Период
Сортировка
От Mayers, Philip J
Тема RE: Can you help a newbie?
Дата
Msg-id A0F836836670D41183A800508BAF190B35E320@icex1.cc.ic.ac.uk
обсуждение исходный текст
Ответ на Can you help a newbie?  ("Jamie Bumsted" <jbumsted@evertek.net>)
Список pgsql-general
Hmm... very suspicious...

However, if you have root on that machine, try this:

su - root
su - postgres
cd /var/lib/pgsql/data
vi pg_hba.conf

add:

local databasename trust

Restart postgres, Switch back to your user, then try:

psql databasename postgres

Bingo, you're in as the DB admin. GRANT <blah> from here on in.

Regards,
Phil

+----------------------------------+
| Phil Mayers, Network Support     |
| Centre for Computing Services    |
| Imperial College                 |
+----------------------------------+

-----Original Message-----
From: Jamie Bumsted [mailto:jbumsted@evertek.net]
Sent: 07 February 2001 12:53
To: pgsql-general@postgresql.org
Subject: [GENERAL] Can you help a newbie?


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?
If this is a stupid question I apologize in advance.

Thanks!

Jamie Bumsted
Systems Engineer
Evertek, Inc.

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

Предыдущее
От: "Jamie Bumsted"
Дата:
Сообщение: Can you help a newbie?
Следующее
От: Karel Zak
Дата:
Сообщение: Re: Can you help a newbie?