Is there any way to remove a password, specifically from the postgres user? I installed the 8.0 Windows version via the installer, and it forces you to set a password. I'd like to reset this so that there is no password (basically, to match the setup on several other machines - and no, for a number of reasons it's not feasible to just set passwords on those other machines). I know about the alter user command, but I haven't seen a way to use it to remove a password. I've tried: alter user postgres with password ''; alter user postgres with password null; The first one doesn't work and the second returns an error. Does anyone know whether this is possible? Thanks. Neil
Neil Berkman <neil.berkman@gmail.com> writes:
> Is there any way to remove a password, specifically from the postgres
> user?
You can set the field to NULL in pg_shadow, though I really wonder why
you'd bother, if you're not using password authentication.
regards, tom lane
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера