Thread: Bypass administrative permissions restriction on windows?

Bypass administrative permissions restriction on windows?

From
Jasper Potts
Date:
I am trying to use Postgres as a embedded db from inside a Java Desktop
application. I am trying to work our how to do the minimal install
manually and start/stop the database from Java. I have come across the
issue of Postgres not running as a user with administrative permissions.
The solution to this is to create new user and give them access to the
data directory which is ugly for a desktop application.

Is there a way of bypassing the "no administrative permissions"
requirement for a single user install on windows?

Does Postgres 8 support Windows 98/ME. ? If so how does it work with
users there?

Is there a way of starting postgres in process as a DLL?

Many Thanks

Jasper Potts

Re: Bypass administrative permissions restriction on windows?

From
"Magnus Hagander"
Date:
>I am trying to use Postgres as a embedded db from inside a
>Java Desktop
>application. I am trying to work our how to do the minimal install
>manually and start/stop the database from Java. I have come across the
>issue of Postgres not running as a user with administrative
>permissions.
>The solution to this is to create new user and give them access to the
>data directory which is ugly for a desktop application.
>
>Is there a way of bypassing the "no administrative permissions"
>requirement for a single user install on windows?

No, not unless you want to patch the source.


>Does Postgres 8 support Windows 98/ME. ? If so how does it work with
>users there?

No, postgresql requires an NT4 or better.


>Is there a way of starting postgres in process as a DLL?

No.

//Magnus