You can use su(1) from a script and setuid(2) from a C program to become
who ever
but not 'root' to launch postgres.
PG needs a database administrator. Most people use postgres. But you can
use anything
you want.
Dorward Villaruz wrote:
>is it possible to start postgres from another user, we only know the
>postgres account password and our shell account to use.
>we have an application that needs to restart postgres if it crashes. ü
>
>
>---------------------------(end of broadcast)---------------------------
>TIP 3: if posting/reading through Usenet, please send an appropriate
>subscribe-nomail command to majordomo@postgresql.org so that your
>message can get through to the mailing list cleanly
>
>