From: "Alexey V. Vissarionov" <gremlin@altlinux.org> To: ALT Linux Team development discussions <devel@lists.altlinux.org> Subject: Re: [devel] UID_MIN/GID_MIN 500 -> 1000 Date: Fri, 28 Apr 2023 08:24:12 +0300 Message-ID: <20230428052412.GA11798@altlinux.org> (raw) In-Reply-To: <20230426102950.GA24412@altlinux.org> Good ${greeting_time}! On 2023-04-26 13:29:51 +0300, Dmitry V. Levin 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. В каком году написан этот текст и для каких ФС это актуально? Это не риторический вопрос, это действительно нужно проверить. Если речь о каких-нибудь атавизмах наподобие CONFIG_MINIX_FS - проще выкинуть их из ядра, чем морочиться с подобными костылями. -- Alexey V. Vissarionov gremlin ПРИ altlinux ТЧК org; +vii-cmiii-ccxxix-lxxix-xlii GPG: 0D92F19E1C0DC36E27F61A29CD17E2B43D879005 @ hkp://keys.gnupg.net
next prev parent reply other threads:[~2023-04-28 5:24 UTC|newest] Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top 2023-04-20 11:15 Mikhail Efremov 2023-04-20 13:30 ` Alexey Shabalin 2023-04-21 12:54 ` Alexey V. Vissarionov 2023-04-26 10:29 ` Dmitry V. Levin 2023-04-26 12:09 ` Alexey Shabalin 2023-04-28 5:24 ` Alexey V. Vissarionov [this message] 2023-04-20 16:23 ` Leonid Krivoshein 2023-04-20 16:30 ` Ivan A. Melnikov 2023-04-20 16:39 ` Mikhail Efremov 2023-04-20 16:47 ` Ruslandh 2023-04-21 8:41 ` Mikhail Efremov 2023-04-20 18:51 ` Vladimir D. Seleznev 2023-04-21 8:38 ` Mikhail Efremov 2023-04-21 12:09 ` Alexey Gladkov 2023-04-21 12:36 ` Vladislav Zavjalov 2023-04-21 12:59 ` Alexey V. Vissarionov 2023-04-20 21:43 ` Dmitry V. Levin 2023-04-21 8:37 ` Mikhail Efremov 2023-04-21 9:17 ` Sergey V Turchin 2023-04-21 12:50 ` Alexey V. Vissarionov 2023-04-25 16:43 ` Mikhail Efremov
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20230428052412.GA11798@altlinux.org \ --to=gremlin@altlinux.org \ --cc=devel@lists.altlinux.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Team development discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \ devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru public-inbox-index devel Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.devel AGPL code for this site: git clone https://public-inbox.org/public-inbox.git