Passwords when changing users -> roles

Started by Adam Witneyabout 20 years ago3 messagesgeneral
Jump to latest
#1Adam Witney
awitney@sgul.ac.uk

Hi,

I'm upgrading from 7.4.x to 8.1.x and I need to move my usernames over to
the new roles. I can create the roles ok, but is there a way of transferring
over the existing passwords, or do I have to create new passwords for each
user/role?

Thanks for any help

adam

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

#2Bruce Momjian
bruce@momjian.us
In reply to: Adam Witney (#1)
Re: Passwords when changing users -> roles

Adam Witney wrote:

Hi,

I'm upgrading from 7.4.x to 8.1.x and I need to move my usernames over to
the new roles. I can create the roles ok, but is there a way of transferring
over the existing passwords, or do I have to create new passwords for each
user/role?

pg_dumpall should transfer your passwords too.

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073
#3Adam Witney
awitney@sgul.ac.uk
In reply to: Bruce Momjian (#2)
Re: Passwords when changing users -> roles

On 1/2/06 3:04 pm, "Bruce Momjian" <pgman@candle.pha.pa.us> wrote:

Adam Witney wrote:

Hi,

I'm upgrading from 7.4.x to 8.1.x and I need to move my usernames over to
the new roles. I can create the roles ok, but is there a way of transferring
over the existing passwords, or do I have to create new passwords for each
user/role?

pg_dumpall should transfer your passwords too.

Ah I see, I only did a pg_dump as I was just transferring one database to
the new server for testing.

Thanks for the help

Adam

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.