public inbox for [email protected]
help / color / mirror / Atom feedFrom: Олег Самойлов <[email protected]>
To: [email protected] <[email protected]>
Subject: Fixed uid for postgresql
Date: Thu, 30 Oct 2025 14:26:46 +0300
Message-ID: <[email protected]> (raw)
<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 />А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>
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected]
Subject: Re: Fixed uid for postgresql
In-Reply-To: <[email protected]>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox