Fixed uid for postgresql

From: Олег Самойлов <splarv(at)ya(dot)ru>
To: "pgsql-pkg-debian(at)postgresql(dot)org" <pgsql-pkg-debian(at)postgresql(dot)org>
Subject: Fixed uid for postgresql
Date: 2025-10-30 11:26:46
Message-ID: 81051761818462@mail.yandex.ru
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-pkg-debian

<div>Hi all.<br /><br />Sometimes fixed uid for postgres can be useful. For instance, when postgres backups and archive wal on NFS volume. Of cause, NFS v.4 can be configured to to work with text usernames, but our sysadmins are not smart enough to do this. And without this there is a problem to work with NFS with dynamically assigned random uids.<br /><br />According th the Debian Policy fixed uid must be in the range <strong style="background-color:#fcfcfc;color:#404040;float:none;font-family:'lato' , 'proxima-nova' , 'helvetica neue' , 'arial' , sans-serif;font-size:16px;font-style:normal;font-weight:700;text-align:start;text-decoration-color:initial;text-decoration-style:initial;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">60000-64999.<br /><br /><a href="https://www.debian.org/doc/debian-policy/ch-opersys.html#uid-and-gid-classes" rel="noopener noreferrer" target="_blank">https://www.debian.org/doc/debian-policy/ch-opersys.html#uid-and-gid-classes</a></strong><br /><br />Аnd according to /usr/share/doc/base-passwd<br />64001 | mysql             | mysql-server<br /><br />mysql already has reserved uid. PostgreSQL may have reserved uid in the same manner.</div>

Attachment Content-Type Size
unknown_filename text/html 1.2 KB

Browse pgsql-pkg-debian by date

  From Date Subject
Next Message apt.postgresql.org Repository Update 2025-10-31 15:35:02 elephant-shed updated to version 1.3.11.pgdg+1
Previous Message apt.postgresql.org Repository Update 2025-10-29 17:15:43 postgresql-rum updated to version 1.3.15-1.pgdg+1