Re: Problem apache - postgres
On Sat, Sep 26, 1998 at 11:39:15AM +0200, Allan Jacobsen wrote:
> Apache runs as user www-data, so to be able to
> access postgresql I wanted to create a postgres
> user "www-data", but createuser says "illegal
> character in user name".
> Does anyone know an easy way around this ?
This is reported as bug #23945 and #23699 against the package
www-pgsql. It is a bug in postgres's GRANT utility; even when quoted,
it doesn't allow the hyphen, although apparently the rest of pgsql
works just fine with it.
If you're having this problem trying to use www-pgsql, you can change
your connect command to
<! sql connect localhost nobody>
(change nobody to whatever username you want to use with postgres,
localhost to wherever the server (postmaster?) is running.)
regards,
Hamish (www-pgsql maintainer)
--
Hamish Moffatt VK3TYD hamish@debian.org, hamish@rising.com.au
Latest Debian packages at ftp://ftp.rising.com.au/pub/hamish. PGP#EFA6B9D5
CCs of replies from mailing lists are welcome. http://hamish.home.ml.org
Reply to: