From: | "Ulrich Müller" <ulm@g.o> |
---|---|
To: | gentoo-dev@l.g.o |
Cc: | "Ulrich Müller" <ulm@g.o> |
Subject: | [gentoo-dev] [PATCH 0/9] eclass: Use UID 0 instead of root and other fixes |
Date: | Sun, 27 Mar 2022 07:27:56 |
Message-Id: | 20220327072735.9719-1-ulm@gentoo.org |
1 | This series of patches addresses eclasses using the "root" user name |
2 | to check for superuser privileges. Using UID or GID 0 will work in |
3 | more situations (e.g. when the superuser isn't named root). |
4 | |
5 | Additionally, change string comparison to arithmetic comparision for |
6 | testing EUID. Introduce an additional sanity check preventing lockout |
7 | of the superuser in acct-user.eclass. |
8 | |
9 | Bug: https://bugs.gentoo.org/595908 |
10 | |
11 | Haelwenn (lanodan) Monnier (1): |
12 | fcaps.eclass: Use UID 0 instead of root |
13 | |
14 | Ulrich Müller (8): |
15 | cron.eclass: Use UID 0 instead of root |
16 | qmail.eclass: Use UID 0 instead of root |
17 | toolchain.eclass: Use UID 0 instead of root |
18 | webapp.eclass: Use UID 0 instead of root |
19 | fcaps.eclass: Use arithmetic test for UID |
20 | user.eclass: Use arithmetic test for UID |
21 | acct-user.eclass: Use arithmetic test for EUID |
22 | acct-user.eclass: Refuse to lock out the superuser |
23 | |
24 | eclass/acct-user.eclass | 17 +++++++++++------ |
25 | eclass/cron.eclass | 12 ++++++------ |
26 | eclass/fcaps.eclass | 6 +++--- |
27 | eclass/qmail.eclass | 12 ++++++------ |
28 | eclass/toolchain.eclass | 2 +- |
29 | eclass/user.eclass | 4 ++-- |
30 | eclass/webapp.eclass | 4 ++-- |
31 | 7 files changed, 31 insertions(+), 26 deletions(-) |
32 | |
33 | -- |
34 | 2.35.1 |
Subject | Author |
---|---|
[gentoo-dev] [PATCH 1/9] fcaps.eclass: Use UID 0 instead of root | "Ulrich Müller" <ulm@g.o> |
[gentoo-dev] [PATCH 2/9] cron.eclass: Use UID 0 instead of root | "Ulrich Müller" <ulm@g.o> |
[gentoo-dev] [PATCH 3/9] qmail.eclass: Use UID 0 instead of root | "Ulrich Müller" <ulm@g.o> |
[gentoo-dev] [PATCH 4/9] toolchain.eclass: Use UID 0 instead of root | "Ulrich Müller" <ulm@g.o> |
[gentoo-dev] [PATCH 5/9] webapp.eclass: Use UID 0 instead of root | "Ulrich Müller" <ulm@g.o> |
[gentoo-dev] [PATCH 6/9] fcaps.eclass: Use arithmetic test for UID | "Ulrich Müller" <ulm@g.o> |
[gentoo-dev] [PATCH 7/9] user.eclass: Use arithmetic test for UID | "Ulrich Müller" <ulm@g.o> |
[gentoo-dev] [PATCH 8/9] acct-user.eclass: Use arithmetic test for EUID | "Ulrich Müller" <ulm@g.o> |
[gentoo-dev] [PATCH 9/9] acct-user.eclass: Refuse to lock out the superuser | "Ulrich Müller" <ulm@g.o> |
Re: [gentoo-dev] [PATCH 0/9] eclass: Use UID 0 instead of root and other fixes | Mike Gilbert <floppym@g.o> |