Re: User rights
От | Tom Lane |
---|---|
Тема | Re: User rights |
Дата | |
Msg-id | 26256.992442283@sss.pgh.pa.us обсуждение исходный текст |
Ответ на | User rights (Nicolas Kowalski <Nicolas.Kowalski@imag.fr>) |
Ответы |
Re: User rights
|
Список | pgsql-admin |
Nicolas Kowalski <Nicolas.Kowalski@imag.fr> writes: > The problem is, if a user tries to authenticate and is not in the > pg_shadow system table but *is* in the passwd file, the access will > always fail. If the user appears in the pg_shadow table, no problems. If you're not in pg_shadow you are not a postgres user. Bogus entries in password files won't help you. > By mistake, I deleted a user (me in fact) from the pg_shadow table. I > was the owner of several tables. As a superuser, I re-created the user, > with the same information, sysid included. But now, I am unable to > manage or even do some SELECT on the table I was the owner. I checked > the relowner field in the pg_class table, and it has the value of my > sysid... Hmm, that should work, if you're sure you got the right sysid. Also check to make sure there is only one row in pg_shadow with that sysid. regards, tom lane
В списке pgsql-admin по дате отправления: