Re: ALTER USER does not work - Mailing list pgsql-novice

From Josh Berkus
Subject Re: ALTER USER does not work
Date
Msg-id web-2310405@davinci.ethosmedia.com
Whole thread Raw
In response to Re: ALTER USER does not work  (pippo@bellnet.ca)
List pgsql-novice
PJ.,

> >su pgsql
> >psql database
> >ALTER USER username WITH PASSWORD password NOCREATEDB NOCREATEUSER
> >
> >There is no error message.
> >I do restart posgresql and then check on Webmin. It always shows the
> same configuration for the username: Requires password? No; Can
> create databases? No; Can create users? No; Valid until Forever.
> >I can delete the username and when I create a new one with same name
> but with new password, the result is the same. :((
> CORRECTION!!! (I forgot to finish the command with the semicolon ";"
> and I did not enter the password with single quotes)
> However, I just tried again:

Sounds like your problem is with pg_hba.conf, not ALTER USER.   Wanna
post the non-commented portions of your pg_hba.conf file?

-Josh

pgsql-novice by date:

Previous
From: pippo@bellnet.ca
Date:
Subject: Re: ALTER USER does not work
Next
From: Babu Khan
Date:
Subject: Install postgres 7.2 on Mac problems