[linux] Este raz PostgreSql
Peter Hudec
hudecof na realtime.sk
Čtvrtek Březen 14 11:34:06 CET 2002
hi,
potrebujem nasledovnu konfiguraciu ...
kazdy USRE by mal mat pristup do urcitych databaz, ale nikde inde.
napr. user hudecof; databazy pokus1, pokus2
user hudecof2; databazy pokus1, pokus3
ked zadam do pg_hba.conf
---- CUT ----
local sameuser password
host sameuser 127.0.0.1 255.255.255.255 password
---- CUT ----
tak ma pravo pristupavat len do databazy toho isteho mena. a nikde inde.
Ked sa tam da all -> ma pristup vsade.
- iba pre HUDECOFa
kde som skusal
---- CUT ----
host all 127.0.0.1 255.0.0.0 ident hudecof
local all ident hudecof
---- CUT ----
hodilo mi chybu, ze "Missing or erroneous pg_hba.conf file, see
postmaster log for details" (vlogoch toho vela nieje)
pg_ident.conf
---- CUT ----
hudecof hudecof pokus1
hudecof hudecof pokus2
---- CUT ----
moze mi niekto pomoct ?? Rady typu RTFM mi nedavajte.. uz som sa dost
nacital ..
HUDECOF
--
mail: [hudecof na realtime.sk] www: [http://www.realtime.sk/~hudecof/homepage]
cellular: [+421 905 703541] icq: [99518783]
gpg: [http://www.realtime.sk/~hudecof/homepage/hudecof.gpg]
Další informace o konferenci linux