Re: phppgadmin
On Wed, 20 Aug 2003 19:25:42 -0700 (PDT)
Rildo Taveira de Oliveira <rto_rei@yahoo.com> wrote:
> Como root:
> su - postgres
> Depois:
> createuser foobar
> www.postgresql.org/docs/7.2/interactive/app-createuser.html
> use a opcao -P para setar a senha.
> No phppgadmin entre com este usuario e senha que voce
> setou. E tambem ajuste na conf. do phppgadmin o ip que
> voce vai usar para as conexoes. No pg_hba.conf tem que
> estar setado para o user autenticar via senha e hosts
> permitidos para tais. Leia a documentacao que se
> encontra em /user/share/doc/pacote/<aqui>. Acho que
> com isso voce consequira.
Até agora fiz o seguinte :
ssh -l root 192.168.0.1
su postgres
createuser -P cosmo
$ createuser -P cosmo
Enter password for user "cosmo":
Enter it again:
Shall the new user be allowed to create databases? (y/n) y
Shall the new user be allowed to create more new users? (y/n) n
CREATE USER
createuser -P logan
$ createuser -P logan
Enter password for user "logan":
Enter it again:
Shall the new user be allowed to create databases? (y/n) y
Shall the new user be allowed to create more new users? (y/n) n
CREATE USER
$ vi /etc/postgresql/pg_hba.conf
Acrescentei as seguintes linhas :
host all all 0.0.0.0 255.255.255.0
trust host all cosmo 192.168.0.10 255.255.255.0
trust host all logan 192.168.0.11 255.255.255.0
trust
$ vi /etc/phppgadmin/config.inc.php
// Set your language preferences here.
include("lang/recoded/portuguese-br.php");
Quando abro o phppgadmin aparece a seguinte mensagem :
"Your config.inc.php is out of date. You will need to regenerate it from
the new config.inc.php-dist."
Como é que eu faço para gerar um novo arquivo de configuração,
config.inc.php-dist ?!?!?
[ ]'s
******************* .''`.
* Caio A. Ferreira * : :' :
* GNU/Linux Debian * `. `'`
******************* `-
Gnupg ID 0x01186BE1
Key fingerprint =3D F17E 75C6 CE00 0E09 F63B 71B0 A0D2 FAD9 0118 6BE1
Vendo espingarda com 2 canos pra matar dupla sertaneja.
Reply to: