Обсуждение: su permission denied

Поиск
Список
Период
Сортировка

su permission denied

От
梁炳場
Дата:
I think many people use postgresql on Linux.
How do you start up postgresql when the machine boots.

I do this "su - postgresql -c "
It is okay on the command line.
If being put on /etc/rc.d/init.d,
it reports "su: permission denied"

How do you overcome this?

Thanks

Re: su permission denied

От
Pascual De Ruvo
Дата:


On 7/20/05, 梁炳場 <pc.leung@gmail.com> wrote:
I think many people use postgresql on Linux.

What versions of PostgreSQL  and Linux are you running?

How do you start up postgresql when the machine boots.

I do this "su - postgresql -c "

Usually only the root user can start / stop services.
Try just doing "su"