From: Stefan Schantl <stefan.schantl@ipfire.org>
To: development@lists.ipfire.org
Subject: [PATCH] FHS: Drop /usr/bin/su from list of allowed SUID binaries
Date: Mon, 20 Mar 2023 12:38:49 +0100 [thread overview]
Message-ID: <20230320113849.218288-1-stefan.schantl@ipfire.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 858 bytes --]
In the Makefile (util-linx.nm) we specify some capabilities to avoid setting
the suid bit.
Signed-off-by: Stefan Schantl <stefan.schantl(a)ipfire.org>
---
src/libpakfire/fhs.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/libpakfire/fhs.c b/src/libpakfire/fhs.c
index f0ddc37c..8e85f29d 100644
--- a/src/libpakfire/fhs.c
+++ b/src/libpakfire/fhs.c
@@ -69,7 +69,6 @@ static const struct pakfire_fhs_check {
{ "/usr/bin/ksu", S_IFREG, S_ISUID|0755, "root", "root", 0 },
{ "/usr/bin/passwd", S_IFREG, S_ISUID|0755, "root", "root", 0 },
{ "/usr/bin/pkexec", S_IFREG, S_ISUID|0755, "root", "root", 0 },
- { "/usr/bin/su", S_IFREG, S_ISUID|0755, "root", "root", 0 },
{ "/usr/bin/sudo", S_IFREG, S_ISUID|0755, "root", "root", 0 },
// Any files in /usr/{,s}bin must be owned by root and have 0755
--
2.30.2
reply other threads:[~2023-03-20 11:38 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20230320113849.218288-1-stefan.schantl@ipfire.org \
--to=stefan.schantl@ipfire.org \
--cc=development@lists.ipfire.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
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox