From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Wed, 26 Apr 2023 13:29:51 +0300 From: "Dmitry V. Levin" To: devel@lists.altlinux.org Message-ID: <20230426102950.GA24412@altlinux.org> References: <20230420141519.4560389b@sem-nb2> <20230421125407.GB3677@altlinux.org> MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20230421125407.GB3677@altlinux.org> Subject: Re: [devel] UID_MIN/GID_MIN 500 -> 1000 X-BeenThere: devel@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: ALT Linux Team development discussions List-Id: ALT Linux Team development discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Apr 2023 10:29:52 -0000 Archived-At: List-Archive: List-Post: On Fri, Apr 21, 2023 at 03:54:07PM +0300, Alexey V. Vissarionov wrote: > Good ${greeting_time}! > > On 2023-04-20 16:30:56 +0300, Alexey Shabalin wrote: > > >> Есть мысль увеличить UID_MIN/GID_MIN по умолчанию до 1000 > > Еще бы хорошо перейти на uid=gid=65534 для nobody > > https://github.com/systemd/systemd/blob/main/docs/UIDS-GIDS.md > > А вот этого делать точно не надо, так как 65534 - совершенно > валидный UID из диапазона [UID_MIN;4294967294]. overflowgid & overflowuid ------------------------- Some filesystems only support 16-bit UIDs and GIDs, although in Linux UIDs and GIDs are 32 bits. When one of these filesystems is mounted with writes enabled, any UID or GID that would exceed 65535 is translated to a fixed value before being written to disk. These sysctls allow you to change the value of the fixed UID and GID. The default is 65534. -- ldv