ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Alexey Shabalin <a.shabalin@gmail.com>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] UID_MIN/GID_MIN 500 -> 1000
Date: Wed, 26 Apr 2023 15:09:33 +0300
Message-ID: <CAEdvWkR1fx+tyEMgTK4xAOtKs3k5LQrMJ2gj3qrQJcpFOvSDmw@mail.gmail.com> (raw)
In-Reply-To: <20230426102950.GA24412@altlinux.org>

ср, 26 апр. 2023 г. в 13:29, Dmitry V. Levin <ldv@altlinux.org>:
>
> 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].

Странно было бы предлагать не валидный UID. Он и сейчас валидный.
И зачем нужен пользователь с невалидным UID?

>
> 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.

Тем более nobody надо на 65534 переводить.

-- 
Alexey Shabalin

  reply	other threads:[~2023-04-26 12:09 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 [this message]
2023-04-28  5:24       ` Alexey V. Vissarionov
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=CAEdvWkR1fx+tyEMgTK4xAOtKs3k5LQrMJ2gj3qrQJcpFOvSDmw@mail.gmail.com \
    --to=a.shabalin@gmail.com \
    --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