set passwd for users

From: "Johnson, Shaunn" <SJohnson6(at)bcbsm(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: set passwd for users
Date: 2003-04-28 20:34:58
Message-ID: 73309C2FDD95D11192E60008C7B1D5BB05FED20F@snt452.corp.bcbsm.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


Howdy:

Running PostgreSQL 7.2.1 on RedHat Linux 7.2.

Is it possible to have a password set for users for
command line use?

For example, I have scripts where I create and maintain
some aspects of the database. Let's say that a user
doesn't like the permission that I set for the table and wants
to change it themselves. They could do something like this:

testdb> \c database newuser

and are now the new user 'newuser'. How can I set
this up to work via the command line as well as with
some ODBC connection?

I am looking in the pg_hba.conf file and I see where
it talks about the system, permissions and such,
but I am more curious as to how to set my file
up so that maybe only the postgreSQL user can have
root-like accesses.

Thanks!

-X

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Mark Tessier 2003-04-28 20:45:54 Bad timestamp external representation
Previous Message The Hermit Hacker 2003-04-28 20:27:14 Re: old thread: Migration from mySQL to postgreSQL