[isf-wifidog] install.php hang?

V Patel sgrlogs at gmail.com
Ven 13 Oct 19:37:54 EDT 2006


ok. Follow what Benoit said and make sure you edit the right file. I had
this problem where in FC5 pg_hba.conf are located in three places. One in
/usr/share/pgsql second one in /usr/local/pgsql and another one in
/var/lib/pgsql/data. When I googled this problem, it turns out that you
should edit pg_hba.conf from /usr/share/pgsql or /usr/local/pgsql and
execute following command.

pg_ctl reload

This will copy the edited file to /var/lib/pgsql/data directory where the
pgsql service reads it from. You should try this first. If this does not
work, edit pg_hba.conf from /var/lib/pgsql/data directory. I am not sure if
there is any security risk with editing from there. you should edit what
Benoit said and leave rest of the settings alone. I think having md5
encryption even on local network is good practice. I hope this works.

--V Patel.


On 10/13/06, Benoit Gregoire <bock at step.polymtl.ca> wrote:
>
> On Wednesday 11 October 2006 00:39, listserv.traffic at sloop.net wrote:
> > Finally, I've edited the pg_hba.conf file, and all connections from
> > 127.0.0.0 (localhost) are trusted, thus we shouldn't need a password.
>
> That's not what the following snipplet from pg_hba says.
>
> > ---
> > # "local" is for Unix domain socket connections only
> > #local all all ident sameuser
> > local all all trust
> > ---
> > (Doesn't seem to matter though - either way I get the same error - no
> > matter if "trust" or "ident sameuser")
> >
> > Am I missing something?
>
> Clearly your pg_hba.conf is still doesn't match your config.  Just put
> host wifidog wifidog 127.0.0.1/32            md5
> local wifidog wifidog           md5
> and leave the rest default.  That way the wifidog user will always use
> encrypted password authentication.
>
> It's probably the simplest way without learning the postgress security
> system
> (which you really should).
>
>
> _______________________________________________
> WiFiDog mailing list
> WiFiDog at listes.ilesansfil.org
> http://listes.ilesansfil.org/cgi-bin/mailman/listinfo/wifidog
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listes.ilesansfil.org/pipermail/wifidog/attachments/20061013/2ecea73c/attachment.html


Plus d'informations sur la liste de diffusion WiFiDog