Starting postgres as root

Corinna Vinschen corinna-cygwin@cygwin.com
Tue Oct 14 15:16:00 GMT 2003


On Tue, Oct 14, 2003 at 07:01:38PM +0530, Mahesh Pawar wrote:
> 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

Ask on a Linux or postgresql related mailing list.  cygwin@cygwin.com
isn't the right forum to ask this question.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.

--
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/



More information about the Cygwin mailing list