X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 1FA5E9DCC55 for ; Tue, 10 Jan 2006 08:24:16 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 82937-07-7 for ; Tue, 10 Jan 2006 08:24:18 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from web31005.mail.mud.yahoo.com (web31005.mail.mud.yahoo.com [68.142.200.168]) by postgresql.org (Postfix) with SMTP id 533CF9DCA8F for ; Tue, 10 Jan 2006 07:54:20 -0400 (AST) Received: (qmail 70498 invoked by uid 60001); 10 Jan 2006 11:54:22 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=ZWYABgtE5H+zDK4w8vsZsK0VPxP4RscV4qKXepkfihIswMV48GjZQvIqnMWkheltSDwRRx7MaMm7L39lrou1P3gJfvUCdzw6n/jA8Ek9k9RHzvyij/fFmtsiWHRSH8jRnqu5e+OY6D2OEHp83yJZcWU3yGnhDD9YaJ67TY95ikA= ; Message-ID: <20060110115422.70496.qmail@web31005.mail.mud.yahoo.com> Received: from [220.227.114.194] by web31005.mail.mud.yahoo.com via HTTP; Tue, 10 Jan 2006 03:54:22 PST Date: Tue, 10 Jan 2006 03:54:22 -0800 (PST) From: Mohamed Fazil Subject: Re: support for using runas for pg To: Magnus Hagander , pg-admin postgre In-Reply-To: <6BCB9D8A16AC4241919521715F4D8BCE92E97D@algol.sollentuna.se> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-777921643-1136894062=:70257" Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.532 required=5 tests=[AWL=0.052, DNS_FROM_RFC_ABUSE=0.479, HTML_MESSAGE=0.001] X-Spam-Score: 0.532 X-Spam-Level: X-Archive-Number: 200601/102 X-Sequence-Number: 20190 --0-777921643-1136894062=:70257 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit 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 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. --0-777921643-1136894062=:70257 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: 8bit
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. --0-777921643-1136894062=:70257--