set passwd for users
| От | Johnson, Shaunn |
|---|---|
| Тема | set passwd for users |
| Дата | |
| Msg-id | 73309C2FDD95D11192E60008C7B1D5BB05FED20F@snt452.corp.bcbsm.com обсуждение исходный текст |
| Ответы |
Re: set passwd for users
|
| Список | 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
В списке pgsql-general по дате отправления: