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: (view raw, whole thread or download thread mbox)
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-2017 The PostgreSQL Global Development Group