Re: Help me!

From: "scott(dot)marlowe" <scott(dot)marlowe(at)ihs(dot)com>
To: Martijn van Oosterhout <kleptog(at)svana(dot)org>
Cc: <teacherenglishvn(at)yahoo(dot)com>, <pgsql-general(at)postgresql(dot)org>
Subject: Re: Help me!
Date: 2003-03-05 15:47:36
Message-ID: Pine.LNX.4.33.0303050845420.4153-100000@css120.ihs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Yep, the first thing you should be taught when administering a Unix box is
to do as root only those things that HAVE to be done as root and then go
back to a non priveldged account. The first time you accidentally do
something like 'rm -Rf /* html' as root when you meant 'rm -Rf /*html'
you find out why.

On Wed, 5 Mar 2003, Martijn van Oosterhout wrote:

> Very simple, don't use root. Create a user postgres and run the database
> server as that. Then you can let the user "root" login although that's an
> exceedingly bad idea.
>
> Hope this helps,
>
> On Wed, Feb 26, 2003 at 06:54:36PM -0800, DangVan Chinh wrote:
> >
> > I don't know starting a PostgreSQL server on RedHat Linux 8.0 and to create a simple database.
> > I have seen:
> > - "$ postmaster" -> error: "root exection of PostgreSQL server is not permitted...."
> > -"$ createdb mydb" -> error: "user 'root' does not exist. createdb: database createtion failed"
> > (I login with user is "root")
> > So, help me way to create a database!
> > Thanks!

In response to

  • Re: Help me! at 2003-03-04 22:38:59 from Martijn van Oosterhout

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2003-03-05 16:00:08 Re: pg_ctl -m fast failing?
Previous Message Tom Lane 2003-03-05 15:42:10 Re: Restriction on transaction size????