Search Postgresql Archives

psql uses default user from kerberos ticket not the current user

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Hi, 

I have postgreslq 8.3.7. I have the following issue:

$ psql databasename
psql: FATAL:  role "litvinse" does not exist

If found the workaround:

$ kdestroy
$ psql databasename
Welcome to psql 8.3.7, the PostgreSQL interactive terminal.

Type:  \copyright for distribution terms
       \h for help with SQL commands
       \? for help with psql commands
       \g or terminate with semicolon to execute query
       \q to quit

databasename=# 

Apparently default user is extracted from kerberos ticket. Is it possible 
to disable this behavior and take current unix user as default user. 

I would like to explicitly specify the username to psql and not to execute 
kdestroy. 

thank you, 
-- 
Dmitry Litvintsev



-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux