Re: support for using runas for pg

Поиск
Список
Период
Сортировка
От Donald Fraser
Тема Re: support for using runas for pg
Дата
Msg-id 004f01c61844$34c77f10$0264a8c0@demolish1
обсуждение исходный текст
Ответ на support for using runas for pg  (Mohamed Fazil <mohdfazil_p_a@yahoo.com>)
Список pgsql-admin
>I am able to start and stop database after logging as user postgres in NT.
It is clear that you can start and stop postgreSQL using the postgres user.
Therefore access to pg_ctl.exe is working as expected!
The fact that the problem only exists when you introduce a thrid party tool
to perform the same tasks you are able to do when logged on as the postgres
user strongly suggests that the problem is with your thrid party tool. That
is your third party tool is emulating the command shell environment but not
100%.

What happens when you try and run some other application using the postgres
user when logged on as the postgres user? For example:
1) log on as postgres and run the program ipconfig.exe (this system program
uses the kernel32.dll).
2) When you have established that the previous step works ok, run the same
command from a batch/script file using the "runasv" program.

Regards
Donald Fraser

Ps. Please do not include email addresses in your reply - they become public
domian and allow spam engines to find them!


В списке pgsql-admin по дате отправления:

Предыдущее
От: Szabolcs BALLA
Дата:
Сообщение: OIDS problem
Следующее
От: "Magnus Hagander"
Дата:
Сообщение: Re: support for using runas for pg