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 5A0E3D1C85A for ; Fri, 1 Aug 2003 15:14:41 +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 49335-05 for ; Fri, 1 Aug 2003 12:13:32 -0300 (ADT) Received: from mail1.ihs.com (mail1.ihs.com [170.207.70.222]) by svr1.postgresql.org (Postfix) with ESMTP id 26897D1C518 for ; Fri, 1 Aug 2003 12:14:39 -0300 (ADT) Received: from css120.ihs.com (css120.ihs.com [170.207.105.120]) by mail1.ihs.com (8.12.9/8.12.9) with ESMTP id h71FDgVq008870; Fri, 1 Aug 2003 09:13:42 -0600 (MDT) Date: Fri, 1 Aug 2003 09:01:22 -0600 (MDT) From: "scott.marlowe" To: Marvin Cc: Subject: Re: Starting PostgreSQL server as root In-Reply-To: <3F29A184.000001.03032@guaj215desa> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-MailScanner: Found to be clean X-MailScanner-SpamCheck: X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200308/22 X-Sequence-Number: 9745 Note that if you use pg_ctl and the $PGDATA var to point to the data dir, then you'll need to su - postgres i.e. use the - to inherit the postgres users environment. On Thu, 31 Jul 2003, Marvin wrote: > You don't have to LOGOUT and LOGIN again as another user, > you just do: # su > > #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) > > .