pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael P. Dobmeier <postgreSQL@mpd-online.de>
To: pgsql-admin@postgresql.org
Subject: Some questions regarding authentication (via pg_hba.conf password pwfile)
Date: Fri, 14 Jun 2002 12:35:51 +0200
Message-ID: <LPBBKGICDIJIEKFGMBDIKEGECIAA.postgreSQL@mpd-online.de> (raw)

Hello,

first I'm sorry for my english, but I hope you can understand my following
problems and questions.

as I spent much time in getting information about the posibilities with
authentification in postreSQL there are some questions left. I didn't found
any answers to this questions so I hope you can help me.

I've configured the pg_hba.conf that way users only have access to a
database (db), if there is a password given in the corresponding
passwordfile (db_pw_file).
(host db XXX.XXX.XXX.XXX XXX.XXX.XXX.XXX password db_pw_file)
This works fine so far.
As it's written in
http://www.postgresql.org/idocs/index.php?auth-methods.html#AUTH-PASSWORD
the SQL-command CREATE USER ... WITH PASSWORD as well as ALTER USER ... WITH
PASSWORD won't change the passwords in the corresponding passwordfiles.
So my questions now are:
1. Are there any other posibilities to change the password, or is the
pg_passwd-tool the only one?
2. Do I have a possibility to change this passwords with a SQL-Command or a
Java-Servlet (in a secure way)?
3. As I used the pg_passwd-tool the usernames were truncated to a length of
8 chars. Is there a possibility to use usernames with more than 8 chars with
this authentication-method?

Many thanks,

Michael





view thread (2+ messages)  latest in thread

Message-ID: <LPBBKGICDIJIEKFGMBDIKEGECIAA.postgreSQL@mpd-online.de>
Permalink:  ../LPBBKGICDIJIEKFGMBDIKEGECIAA.postgreSQL@mpd-online.de/
Also on:    postgresql.org/message-id/LPBBKGICDIJIEKFGMBDIKEGECIAA.postgreSQL@mpd-online.de

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: postgreSQL@mpd-online.de
  Subject: Re: Some questions regarding authentication (via pg_hba.conf password pwfile)
  In-Reply-To: <LPBBKGICDIJIEKFGMBDIKEGECIAA.postgreSQL@mpd-online.de>
  References: <LPBBKGICDIJIEKFGMBDIKEGECIAA.postgreSQL@mpd-online.de>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox