Skip site navigation (1) Skip section navigation (2)

Permission denied on FC4?

From: 梁炳場 <pc(dot)leung(at)gmail(dot)com>
To: pgsql-novice(at)postgresql(dot)org
Subject: Permission denied on FC4?
Date: 2005-07-20 06:20:37
Message-ID: b03ca68b050719232029168c71@mail.gmail.com (view raw or flat)
Thread:
Lists: pgsql-novice
In the script of starting up postgresql, I use
   su - postgresql -c 'xxxx'

It is ok on command line. 

If it is put under /etc/init.d

the message shows "su: permission denied" when the Linux boots.

I think many people face this problem. How can I fix it?

pgsql-novice by date

Next:From: martin tietzeDate: 2005-07-20 07:28:45
Subject: Can't change to user "postgres"
Previous:From: John DeSoiDate: 2005-07-20 00:00:34
Subject: Re: Hosting

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group