Re: start daemon program by general user in fc-4

Anton Hofmann <[email protected]> Fri, 22 Dec 2006 09:36:07 +0100
Newsgroups gmane.linux.redhat.general.german
Message-ID <[email protected]>
Hi,

first, this mailinglist is for RedHat-related questions in german, but 
i´ll try to help you out with your problem.
Can you ensure that the "Permission denied" really is from su?
Try to start postgres with "su -m".






sinkin schrieb:
> Hello!
>
> I want to start daemon program by general user in fedora core 4 system's
> startup script .
> for example, I add one line in /etc/rc.local:
> 	su postgres -c 'postmaster -D /home/data'
>
> but this failed, and the message is "su: /bin/sh permission denied"
>
> When i login the system using root, i can run this command.
> I think this problem related to the fc-4 system, because i can do the
> same thing under redhat-9 system.
> Can you give me help? thanks!
>
>