From: Marvin <magosoft@gmx.net>
To: pgsql-admin@postgresql.org
Subject: Re: Starting PostgreSQL server as root
Date: Thu, 31 Jul 2003 17:08:52 -0600
Message-ID: <3F29A184.000001.03032@guaj215desa> (raw)
References: <20030731225930.19068.qmail@web41206.mail.yahoo.com>
You don't have to LOGOUT and LOGIN again as another user,
you just do: # su <user>
#su postgres
The postgres must exist and this is who will own the database.
Regards,
MAGO
-------Mensaje original-------
De: Daniel Gerardo Lucero Baylon
Fecha: Jueves, 31 de Julio de 2003 05:03:08 p.m.
A: pgsql-admin@postgresql.org
Asunto: [ADMIN] Starting PostgreSQL server as root
I installed PostgreSQL 7.3.4 on Red Hat Linux 8.0.
When I tried to mount database (using initdb command), following error
appear:
You cannot run initdb as root. Please log in as the (unprivileged) user that
will own the server process.
I read at Postgre documentation, and I need to log on as another user and
strt
process.
This is my problem, I check another services and processes as root user, if
I
use another user to manage Postgre, another appliactions crashes.
Does exist a way to start Postgre as root?
I appreciate some help.
Best Regards
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to majordomo@postgresql.org)
.
Attachments:IMSTP.gif (image/gif, 494B) downloadview image
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: magosoft@gmx.net
Subject: Re: Starting PostgreSQL server as root
In-Reply-To: <3F29A184.000001.03032@guaj215desa>
References: <20030731225930.19068.qmail@web41206.mail.yahoo.com> <3F29A184.000001.03032@guaj215desa>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox