This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Starting postgres as root


Hi,

I would like to start postgres while my linux m/c is booting.
For testing I checked following commnd as root .

/usr/local/pgsql/bin/initdb -D /usr/local/pgsql/data

and got error

You cannot run initdb as root. Please log in (using, e.g., 'su')
as the (unprivileged) user that will own the server process.

What changes i need to do

Reagrds

Mahesh

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]