X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id 903A1D1C921 for ; Thu, 31 Jul 2003 23:09:56 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 85795-05 for ; Thu, 31 Jul 2003 20:08:50 -0300 (ADT) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by svr1.postgresql.org (Postfix) with SMTP id CB0B3D1C4EB for ; Thu, 31 Jul 2003 20:09:53 -0300 (ADT) Received: (qmail 23170 invoked by uid 65534); 31 Jul 2003 23:09:53 -0000 Received: from unknown (EHLO guaj215desa) (168.234.68.69) by mail.gmx.net (mp009) with SMTP; 01 Aug 2003 01:09:53 +0200 MIME-Version: 1.0 Message-Id: <3F29A184.000001.03032@guaj215desa> Date: Thu, 31 Jul 2003 17:08:52 -0600 Content-Type: Multipart/related; type="multipart/alternative"; boundary="------------Boundary-00=_SAWWQL80000000000000" X-Mailer: IncrediMail 2001 (1850912) From: "Marvin" References: <20030731225930.19068.qmail@web41206.mail.yahoo.com> X-FID: FLAVOR00-NONE-0000-0000-000000000000 X-FVER: X-CNT: ; X-Priority: 3 To: Subject: Re: Starting PostgreSQL server as root Reply-To: "Marvin" X-Virus-Scanned: by amavisd-new at postgresql.org X-Spam-Status: No, hits=1.7 tagged_above=0.0 required=5.0 tests=ASCII_FORM_ENTRY, BAYES_30, EXTRA_MPART_TYPE, HTML_40_50, HTML_FONT_FACE_ODD, HTML_TAG_EXISTS_TBODY, REFERENCES X-Spam-Level: * X-Archive-Number: 200307/365 X-Sequence-Number: 9705 --------------Boundary-00=_SAWWQL80000000000000 Content-Type: Multipart/Alternative; boundary="------------Boundary-00=_SAWWLVC0000000000000" --------------Boundary-00=_SAWWLVC0000000000000 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable You don't have to LOGOUT and LOGIN again as another user,=0D you just do: # su =0D =0D #su postgres=0D =0D The postgres must exist and this is who will own the database.=0D =0D Regards,=0D =0D =0D MAGO=0D =0D -------Mensaje original-------=0D =0D De: Daniel Gerardo Lucero Baylon=0D Fecha: Jueves, 31 de Julio de 2003 05:03:08 p.m.=0D A: pgsql-admin@postgresql.org=0D Asunto: [ADMIN] Starting PostgreSQL server as root=0D =0D I installed PostgreSQL 7.3.4 on Red Hat Linux 8.0.=0D =0D When I tried to mount database (using initdb command), following error appear:=0D =0D You cannot run initdb as root. Please log in as the (unprivileged) user tha= t=0D will own the server process.=0D =0D I read at Postgre documentation, and I need to log on as another user and strt=0D process.=0D =0D This is my problem, I check another services and processes as root user, if I=0D use another user to manage Postgre, another appliactions crashes.=0D =0D Does exist a way to start Postgre as root?=0D =0D I appreciate some help.=0D =0D Best Regards=0D =0D __________________________________=0D Do you Yahoo!?=0D Yahoo! SiteBuilder - Free, easy-to-use web site design software=0D http://sitebuilder.yahoo.com=0D =0D ---------------------------(end of broadcast)---------------------------=0D TIP 2: you can get off all lists at once with the unregister command=0D (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)=0D =0D .=20 --------------Boundary-00=_SAWWLVC0000000000000 Content-Type: Text/HTML; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
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-------
 
Fecha: Jueves, 31 de= Julio de 2003 05:03:08 p.m.
Asunto: [ADMIN] Star= ting 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 appe= ar:

You cannot run initdb as root. Please log in as the (unprivilege= d) user that
will own the server process.

I read at Postgre docum= entation, 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 hel= p.

Best Regards

__________________________________
Do you = Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software<= BR>http://sitebuilder.yahoo.com

---------------------------(end of broadcast)---------------------= ------
TIP 2: you can get off all lists at once with the unregister comm= and
(send "unregister YourEmailAddressHere" to
majordomo@postgresql.org)

.
____________________________= _____________________________________
3D""  IncrediMail - El E-m= ail ha evolucionado finalmente - Haga clic aqu=ED
--------------Boundary-00=_SAWWLVC0000000000000-- --------------Boundary-00=_SAWWQL80000000000000 Content-Type: image/gif; name="IMSTP.gif" Content-Transfer-Encoding: base64 Content-ID: R0lGODlhFAAPALMIAP9gAM9gAM8vAM9gL/+QL5AvAGAvAP9gL////wAAAAAA AAAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh+QQJFAAIACwA AAAAFAAPAAAEVRDJSaudJuudrxlEKI6BURlCUYyjKpgYAKSgOBSCDEuGDKgr AtC3Q/R+hkPJEDgYCjpKr5A8WK9OaPFZwHoPqm3366VKyeRtE30tVVRscMHD qV/u+AgAIfkEBWQACAAsAAAAABQADwAABBIQyUmrvTjrzbv/YCiOZGmeaAQA IfkECRQACAAsAgABABAADQAABEoQIUOrpXIOwrsPxiQUheeRAgUA49YNhbCq K1kS9grQhXGAhsDBUJgZAL2Dcqkk7ogFpvRAokSn0p4PO6UIuUsQggSmFjKX dAgRAQAh+QQFCgAIACwAAAAAFAAPAAAEEhDJSau9OOvNu/9gKI5kaZ5oBAAh +QQJFAAIACwCAAEAEAANAAAEShAhQ6ulcg7Cuw/GJBSF55ECBQDj1g2FsKor WRL2CtCFcYCGwMFQmBkAvYNyqSTuiAWm9ECiRKfSng87pQi5SxCCBKYWMpd0 CBEBACH5BAVkAAgALAAAAAAUAA8AAAQSEMlJq7046827/2AojmRpnmgEADs= --------------Boundary-00=_SAWWQL80000000000000--