Re: start postmaster as root : problem - Mailing list pgsql-general

From Devrim GUNDUZ
Subject Re: start postmaster as root : problem
Date
Msg-id Pine.LNX.4.61.0411051750220.3977@emo.org.tr
Whole thread Raw
In response to start postmaster as root : problem  (stefari@tiscali.it)
List pgsql-general
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Hi,

On Fri, 5 Nov 2004 stefari@tiscali.it wrote:

> I have to develop an embedded database with PostgreSQL.
> I have a Linux Distribuction  that works only in single user mode as root.
>
> The postmaster daemon starts only if  I 'm  not  root user.
>
> Do you have a solution for this problem ??

AFAIK, It's backend/main/main.c that checks the username with geteuid().
If you disable it and re-compile the file, postmaster will not check the
username.

Regards,
- --
Devrim GUNDUZ
devrim~gunduz.org                devrim.gunduz~linux.org.tr
             http://www.tdmsoft.com
             http://www.gunduz.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQFBi6G0tl86P3SPfQ4RAjhHAJ4gogrFVCDM3rUrPxYyH6VPWj1sKwCfdqjT
OdA+UMEjURkQrgBkNyy94SI=
=SO5W
-----END PGP SIGNATURE-----

pgsql-general by date:

Previous
From: stefari@tiscali.it
Date:
Subject: start postmaster as root : problem
Next
From: Tom Lane
Date:
Subject: Re: [ADMIN] VACUUM failing ??!!