[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: postgresql e phppgadmin



procure pela opção extrasecurity na configuração do phppgadmin

deve estar off para permitir uso do mesmo, dá dicas sobre segurança no arquivo

mario sergio

caio ferreira escreveu:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

	Todos

	Para utilizar o postgresql e o phppg admin fiz o seguinte:

- - instalei o postgresql e o phppgadmin via apt
- - # su - postgres
- - $ createdb postgres
CREATE DATABASE
- - $ psql postgres
  Welcome to psql 7.3.4, the PostgreSQL interactive terminal .

  Type: copyright for distribution terms
  h for help with SQL commands
  ? for help on internal slash commands
  g or terminate with semicolon to execute query
  q to quit

 postgres=#

- - postgres=# alter user postgres with encrypted password 'sua-senha';
ALTER USER
postgres=#\q

- - vi /var/lib/postgres/data/pg_hba.conf
local all all trust
host all all 127.0.0.1 255.255.255.255 trust

	Para realizar um teste abri o phppgadmin e fui tentar logar como root.
Apareceu a seguinte mensagem de erro:

			Login disallowed for security reasons.

	Alguém saberia me dizer o que é que eu estou fazendo de errado ?

- --


 .''`.   Caio Abreu Ferreira
: :'  :  GNU/Linux Debian
`. `'`   fingerprint 0B5 0357 B80C E53C 5EF6  9D58 2D1B 0602 45E5 183A
  `-     Key ID 0x45E5183A
  	 Linux Couter 327834

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFE8j59LRsGAkXlGDoRCOrIAJoCyYzFQw/VU9c6ptdaDQq2EUe6bgCeLK8x
wDVdCy3RuP1bGcT2GoxAhPw=
=MjXt
-----END PGP SIGNATURE-----



		
_______________________________________________________ O Yahoo! está de cara nova. Venha conferir! http://br.yahoo.com



Reply to: