<div dir="ltr"><div><br><br>On Thu, May 18, 2017 at 12:59 PM, Markus Neteler <<a href="mailto:neteler@osgeo.org">neteler@osgeo.org</a>> wrote:<br>><br>> On Wed, May 17, 2017 at 3:03 PM, Markus Metz<br>> <<a href="mailto:markus.metz.giswork@gmail.com">markus.metz.giswork@gmail.com</a>> wrote:<br>> > On Wed, May 17, 2017 at 9:31 AM, Moritz Lennert<br>> ...<br>> >> I would, therefore, expect to just be able to do this:<br>> >><br>> >> v.in.ogr "PG:host=myhost user=theuser password=thepassword<br>> >> dbname=thedatabase" layer=theschema.thetable out=mygrassmap<br>> ><br>> > I agree<br>><br>> Just a side-note: I would be very happy to not store the password in<br>> the cmd line history.<br>> PG itself supports a password file<br>> (<a href="https://www.postgresql.org/docs/9.6/static/libpq-pgpass.html">https://www.postgresql.org/docs/9.6/static/libpq-pgpass.html</a>).<br>><br>> Please keep any password hiding option(s) in mind when working on the design.<br><br></div>Apparently such a password file is recognized by the PostgreSQL client library, therefore no special mechanism should be needed for OGR or GRASS, but a hint in the manuals of db.login and v.in.ogr might be helpful.<br><div><br></div><div>Markus M <br></div></div>