Package: postgresql-client-common
Version: 109
Severity: wishlist

I'm writing a perl script to help install a package which makes use of
PostgreSQL for the database.  In most instances, using the various
postgres scripts in /usr/bin (createuser, createdb, ...) works well
with other scripting, createuser is the exception.  In order for a Perl
script to make use of createuser, it probably needs to be running Expect
to interact with createuser.

If in addition to --pwprompt, there was something like --pwstdin, a
person could do:

  open( PG, "| createuser ... -pwstdin ..." );
  print PG "$password\n";
  close( PG );

we would have a safe way of getting passwords into PostgreSQL, that
a script could make use of.

But, I am hardly an expert on script safety.  This just seems to be
the concensus opinion I've read over the last few days.

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.32 (SMP w/2 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages postgresql-client-common depends on:
ii  debconf [debconf-2.0]         1.5.33     Debian configuration management sy

Versions of packages postgresql-client-common recommends:
ii  lsb-release                   3.2-23.1   Linux Standard Base version report

postgresql-client-common suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to