Re: support for using runas for pg

From: "Donald Fraser" <postgres(at)kiwi-fraser(dot)net>
To: "[ADMIN]" <pgsql-admin(at)postgresql(dot)org>
Subject: Re: support for using runas for pg
Date: 2006-01-13 13:20:33
Message-ID: 004f01c61844$34c77f10$0264a8c0@demolish1
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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!

Browse pgsql-admin by date

  From Date Subject
Next Message Magnus Hagander 2006-01-13 15:18:20 Re: support for using runas for pg
Previous Message Dragos Pruteanu 2006-01-13 11:17:49 Please help