Jerome Lyles <[EMAIL PROTECTED]> writes: > On Tuesday 27 January 2004 06:41 am, Tom Lane wrote: >> I don't think so --- the postmaster will actively refuse to start if you >> try to run it as root. Better take another look at exactly what's >> happening.
> Running the postmaster as root: > [EMAIL PROTECTED]:~> su > Password: > linux:/home/adriel # /etc/init.d/postgresql start > Starting PostgreSQL If you look into that startup script, you'll find it does a su to postgres before trying to start the postmaster. The postmaster will barf if you try to invoke it directly as root (this is a security measure). > I then created a database as the database superuser: > [EMAIL PROTECTED]:~> createdb mydb2 > CREATE DATABASE Okay, looks like you are set: postgres is the DB superuser, and should be able to create all the other database users you want. regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 2: you can get off all lists at once with the unregister command (send "unregister YourEmailAddressHere" to [EMAIL PROTECTED])