Why can't I change a password

From: Steve Litt <slitt(at)troubleshooters(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Why can't I change a password
Date: 2011-01-16 08:04:28
Message-ID: 201101160304.29026.slitt@troubleshooters.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi all,

I've somehow messed up something.

psql super
psql (8.4.5)
Type "help" for help.

super=> \du+
List of roles
Role name | Attributes | Member of | Description
-----------+-------------+-----------+-------------
bobo | | {} |
junk | | {} |
myuid | | {} |
postgres | Superuser | {} |
: Create role
: Create DB
slitt | Create DB | {} |
super | Superuser | {} |
: Create role
: Create DB

super=>
super=> alter user myuid password 'mypass';
ERROR: permission denied
super=>

I don't get it. User super is listed as attributes Superuser, create role and
createdb, so why the lack of permission? This also happened when I was in as
"postgres".

Interestingly, earlier tonight I was changing passwords just fine. I don't
know what happened. Obviously there's a chunk of information I'm missing.

What diagnostic tests can I do to narrow this down?

Thanks

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Kasia Nowicka 2011-01-16 09:29:24 problem
Previous Message Randall Smith 2011-01-16 05:35:55 Re: Trigger Performance