From: Mohamed Fazil <mohdfazil_p_a@yahoo.com>
To: Magnus Hagander <mha@sollentuna.net>
To: pg-admin postgre <pgsql-admin@postgresql.org>
Subject: Re: support for using runas for pg
Date: Tue, 10 Jan 2006 03:54:22 -0800 (PST)
Message-ID: <20060110115422.70496.qmail@web31005.mail.mud.yahoo.com> (raw)
In-Reply-To: <6BCB9D8A16AC4241919521715F4D8BCE92E97D@algol.sollentuna.se>
Hi,
I got a third party utility to run pgsql in non administrative users account and without prompting password. The utility providers ensure that the utility will work in NT. I used this utility for running pg8.1.1 and it shows me the following error with a prompt titled "ININTDB.EXE - DLL Initialization Failed" and the message "Initialization of Dynamic Link Library D:\WINNT\system32\KERNEL32.dll failed. The process is terminating abnormally". Before running this i had created new user named postgres without administrator rights. I tried by providing read & execute rights for the user postgres to Kernl32.dll, user32.dll & for the folder of pg that contains libraries and exe's. Then also it is showing the same error.
please provide me a solution for this. I had tested their utility by running other app same as i tested pg, then it works in NT.
As u mentioned in the previous mail /savecred is not working in Windows 2000. This utility will provides solution for this also.
Regards
Mohamed Fazil
Magnus Hagander <mha@sollentuna.net> wrote:
> Thanks for the support provided by you guys. I am able to run
> the application using runas.exe but it does not allows me to
> provide the domain password with the same command. Could you
> please provide me a solution to provide password with it.
use runas with /savecred the first time, and then it'll run without
prompting you for the password.
> Also Is there any utility to run postgres as a different user
> in NT. Please help me out.
I've heard of thirdparty tools that did this, but I can't name one.
You'll be hard-pressed to find one that's supported on NT4 these days,
though, but there might be some around.
//Magnus
---------------------------------
Yahoo! Photos
Got holiday prints? See all the ways to get quality prints in your hands ASAP.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: mohdfazil_p_a@yahoo.com, mha@sollentuna.net
Subject: Re: support for using runas for pg
In-Reply-To: <20060110115422.70496.qmail@web31005.mail.mud.yahoo.com>
References: <6BCB9D8A16AC4241919521715F4D8BCE92E97D@algol.sollentuna.se> <20060110115422.70496.qmail@web31005.mail.mud.yahoo.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox