[postgis-devel] [PostGIS] #398: pgsql2shp should prompt for password if not supplied in command args
PostGIS
trac at osgeo.org
Fri Jan 29 12:21:21 PST 2010
#398: pgsql2shp should prompt for password if not supplied in command args
-------------------------+--------------------------------------------------
Reporter: mwtoews | Owner: pramsey
Type: enhancement | Status: new
Priority: medium | Milestone: PostGIS 2.0.0
Component: postgis | Version:
Keywords: |
-------------------------+--------------------------------------------------
Presently, if no -P <password> is supplied to pgsql2shp, an error
(depending on pg_hba.conf configurations) shows:
{{{
pgsql2shp dbname tablename
fe_sendauth: no password supplied
}}}
It appears that the -P <password> is required, however this opens a
security risk as the password is visible and in the command history.
This enhancement request is to mimic the behaviour of psql, whereby a
prompt is shown if no password is supplied. A bonus request would be to
use .pgpass or pgpass.conf for the password, if available.
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/398>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.
More information about the postgis-devel
mailing list