pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Improvement of clarity in pg_ctl command docummentation
2+ messages / 2 participants
[nested] [flat]

* Improvement of clarity in pg_ctl command docummentation
@ 2023-07-15 05:57  PG Doc comments form <noreply@postgresql.org>
  0 siblings, 1 reply; 2+ messages in thread

From: PG Doc comments form @ 2023-07-15 05:57 UTC (permalink / raw)
  To: pgsql-docs@lists.postgresql.org; +Cc: rahimullah.shaheen281@gmail.com

The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/15/app-pg-ctl.html
Description:

I was reading the documentation about pg_ctl and there everything was well
written about the usage and option that can be used with the pg_ctl command
but there is not mentioned that we can not run pg_ctl command as root and
why we cant run it as root.


^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: Improvement of clarity in pg_ctl command docummentation
@ 2023-07-17 08:27  Michael Paquier <michael@paquier.xyz>
  parent: PG Doc comments form <noreply@postgresql.org>
  0 siblings, 0 replies; 2+ messages in thread

From: Michael Paquier @ 2023-07-17 08:27 UTC (permalink / raw)
  To: rahimullah.shaheen281@gmail.com; pgsql-docs@lists.postgresql.org

On Sat, Jul 15, 2023 at 05:57:40AM +0000, PG Doc comments form wrote:
> I was reading the documentation about pg_ctl and there everything was well
> written about the usage and option that can be used with the pg_ctl command
> but there is not mentioned that we can not run pg_ctl command as root and
> why we cant run it as root.

Yes, I guess that you are right in the fact that we don't document
pg_ctl cannot be run as root.  The short explanation behind this
restriction is that the PostgreSQL backend is considered as having the
same rights as the OS user running it, and we don't want to encourage
unsecure behaviors where systems could be easily compromised.
--
Michael

Attachments:

  [application/pgp-signature] signature.asc (832B, ../../ZLT7f6ZHRXvOkPYd@paquier.xyz/2-signature.asc)
  download

^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2023-07-17 08:27 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2023-07-15 05:57 Improvement of clarity in pg_ctl command docummentation PG Doc comments form <noreply@postgresql.org>
2023-07-17 08:27 ` Michael Paquier <michael@paquier.xyz>

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