From: Miguel Gonzalez <iafmgc@unileon.es>
To: pgsql-admin@postgresql.org
Subject: password politic
Date: Fri, 18 May 2001 20:07:14 +0200
Message-ID: <01e701c0dfc5$5e86fc70$fa01a8c0@clientesql> (raw)
References: <9dvnup$2n3q$1@news.tht.net>
Dear All,
I am trying to configure the access to the postgreSQL server through web. I
would like that someone could give
a general idea of how the password politic works in PostgreSQL.
Let me explain what I have tried so far.
I want to do access to PostgreSQL using password encryption. What I have
read is that in that case you need to use
the passwd file.
I tried to use the commands for adding a user to the system (create user or
createuser on the system prompt) but I have
seen that in that case, postgreSQL dont add a entry for the new user in the
passwd file. BUT if I use the command "pg_passwd passwd" and gives the
details for the new user, then it does add the entry to the passwd file, but
not in the pg_pwd file where stores the names of the users of postgreSQL (I
tried to access through the psql command to the database and the user doesnt
exist after only have added using pg_passwd).
Does this mean that I have to do this two steps?. I am developing an
administration application under C++ Builder and I would like to add users
from that application using SQL, trigger, fuctions or whatever. How can I do
it without doing it manually?
I hope I have explained myseft clearly.
Thank you in advance and sorry for my English
Miguel
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: iafmgc@unileon.es
Subject: Re: password politic
In-Reply-To: <01e701c0dfc5$5e86fc70$fa01a8c0@clientesql>
References: <9dvnup$2n3q$1@news.tht.net> <01e701c0dfc5$5e86fc70$fa01a8c0@clientesql>
* 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