| From: | Grant <grant(at)conprojan(dot)com(dot)au> |
|---|---|
| To: | pgsql-admin(at)postgresql(dot)org |
| Subject: | Re: Authentication by password |
| Date: | 2001-03-12 23:04:10 |
| Message-ID: | Pine.LNX.4.21.0103130903520.12097-100000@webster.conprojan.com.au |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-admin |
ALTER USER postgres WITH PASSWORD 'yourpassword';
On Mon, 12 Mar 2001, Peter Schuller wrote:
> Hello,
>
> I'm sure this has been covered before, but the ML archive search engine is
> down (?!).
>
> After telling postgresql not to trust anyone, but always use password/crypt
> as the authenticaton method (pg_hdb.conf), I can't seem to get the
> postmaster to authenticate against the right password.
>
> What I've done is:
>
> 1) Create user U with createuser
> 2) Log in as postgres to a database A
> 3) UPDATE pg_user SET passwd='mypassword' WHERE usename='U';
>
> But after that 'mypassword' is not accepted when trying to log in as user U.
>
> What am I doing wrong?
>
> I was thinking the passwords might be encrypted in the db; but then the
> "password" authentication mechanism would be impossible, so that can't be it.
>
> Thank you,
>
>
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Dave Millen | 2001-03-12 23:24:23 | Re: Computer with Linux OS not shown on Computers with Windows OS |
| Previous Message | Peter Schuller | 2001-03-12 23:01:59 | Authentication by password |