Ver Mensaje Individual
  #26 (permalink)  
Antiguo 17/08/2005, 15:41
MikiBroki
 
Fecha de Ingreso: abril-2002
Mensajes: 1.014
Antigüedad: 22 años
Puntos: 8
Perfecta tu solución xknown, la última cuestión que no logro hacer siguiendo el mismo sistema:

"initdb nuevabd -U postgres" me arroja:

The files belonging to this database system will be owned by user "postgres".
This user must also own the server process.

The database cluster will be initialized with locale Spanish_Spain.1252.

creating directory exp_profesores ... ok
creating directory exp_profesores/global ... ok
creating directory exp_profesores/pg_xlog ... ok
creating directory exp_profesores/pg_xlog/archive_status ... ok
creating directory exp_profesores/pg_clog ... ok
creating directory exp_profesores/pg_subtrans ... ok
creating directory exp_profesores/base ... ok
creating directory exp_profesores/base/1 ... ok
creating directory exp_profesores/pg_tblspc ... ok
selecting default max_connections ... 10
selecting default shared_buffers ... 50
creating configuration files ... ok
creating template1 database in nuevabd/base/1 ... Execution of PostgreSQL
by a user with administrative permissions is not
permitted.
The server must be started under an unprivileged user ID to prevent
possible system security compromises. See the documentation for
more information on how to properly start the server.
child process was terminated by signal 1
initdb: removing data directory "nuevabd"

... y lo mismo sucede con un usuario que no es root "initdb nuevabd -U javi"

Muchas gracias.