Bypass administrative permissions restriction on windows?

Started by Jasper Pottsabout 21 years ago2 messagesgeneral
Jump to latest
#1Jasper Potts
jasper@squarepark.com

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

#2Magnus Hagander
magnus@hagander.net
In reply to: Jasper Potts (#1)
Re: Bypass administrative permissions restriction on windows?

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