User accounts on windows - Mailing list pgsql-hackers

From Joel Mariadasan (jomariad)
Subject User accounts on windows
Date
Msg-id DM6PR11MB34528DEECDAB0BF87056F6E9D71D0@DM6PR11MB3452.namprd11.prod.outlook.com
Whole thread Raw
List pgsql-hackers

Background:

We have an installer for our application as part of which we are planning to include archive

postgresql-13.0-1-windows-x64-binaries.zip which will be extracted along with the installation of our application.

 

When the archive is extracted the folder’s permission will belong to the current user who is installing our application (who will belong to the administrators group).

This is contradictory to the approach followed by enterprise db installer where a separate user “postgres” will own the folders and the process created.

We want to simply the installation approach as many times we are hitting permission issues while using the separate “postgres” user created.

That’s why we want to make the current user own the postgres and services.

 

Note: This is not about the “postgres” database user account.

 

Following are the queries with regards to the approach:

  1. Will having an administrator user own the postgres installation and data directory cause any side effects?
  2. The postgres process also will be owned by an user of administrator group. Will it cause any issues from security perspective?

 

Regards,

Joel

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Mop-up around psql's \connect behavior
Next
From: Tom Lane
Date:
Subject: Re: [Patch] Optimize dropping of relation buffers using dlist