Re: passwords and 7.3

From: Gregory Seidman <gss+pg(at)cs(dot)brown(dot)edu>
To: PostgreSQL general mailing list <pgsql-general(at)postgresql(dot)org>
Subject: Re: passwords and 7.3
Date: 2003-01-20 16:14:56
Message-ID: 20030120161454.GA11642@cs.brown.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Tom Lane sez:
} Gregory Seidman <gss+pg(at)cs(dot)brown(dot)edu> writes:
} > Tom Lane sez:
} > } Secondary password files aren't supported anymore as of 7.3. If that's
} > } not in the release notes, it's a serious oversight :-(
}
} > It certainly isn't mentioned in README or INSTALL. Anyhow, how do I take
} > the existing external password file (which has encrypted passwords) and
} > put it into the DB?
}
} I'm afraid you don't. The encryption method that was used in external
} files was crypt(3), which we're migrating away from for various reasons,
} chiefly lack of cross-platform portability. The encryption method
} that's now supported in pg_shadow entries is MD5.
}
} I'd counsel issuing temporary new passwords to all your users and
} advising them to change them to something of their own choice...

Hmph. I'm not thrilled that the upgrade path here is a dead end. Since
this particular installation is my own private install, I can (and have)
put the passwords in plaintext in the pg_shadow table. In the general
case, however, this disenfranchises anyone relying on the external
password file to support external users.

Incidentally, how do I make an md5 password? I assume the authentication
method in pg_hba.conf has to be set to md5, but how do I encrypt the
password to put in the passwd field in pg_shadow? Am I expected to have
an md5 app on my system somewhere (I don't)? Is there a tool installed
with postgresql (I don't see such a thing)?

} regards, tom lane
--Greg

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Chris Boget 2003-01-20 16:15:29 Re: Altering a table - positioning new columns
Previous Message Jean-Luc Lachance 2003-01-20 16:13:22 Re: Altering a table - positioning new columns