From: "A. Wilcox" <awilfox@adelielinux.org>
To: musl@lists.openwall.com
Subject: Re: [musl] get/set*ent functions and real world applications
Date: Wed, 13 Oct 2021 01:16:30 -0500 [thread overview]
Message-ID: <F7E8D2A4-7449-4843-9D92-22FDA05C6154@adelielinux.org> (raw)
In-Reply-To: <CEWQZO4LY0K5.2GJHC7OUQFVW9@mussels>
[-- Attachment #1: Type: text/plain, Size: 655 bytes --]
On Oct 11, 2021, at 12:41 PM, Érico Nogueira <ericonr@disroot.org> wrote:
>
> Things in /etc
> can, theoretically, only be written to by root or at least trusted
> users, so treating as entirely untrusted seems a bit over the top...
My understanding is that tcb exists explicitly to make these files modifiable by non-root users, to make the shadow tools unprivileged.
I don't recall if GECOS or group fields are included in tcb, or if it is only the password itself. If the other fields are included, this is a much more important bug than otherwise.
Best,
-arw
--
A. Wilcox (Sent from my iPhone)
Mac, iOS, Linux software engineer
[-- Attachment #2: Type: text/html, Size: 1156 bytes --]
next prev parent reply other threads:[~2021-10-13 6:16 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-11 13:32 (GalaxyMaster)
2021-10-11 17:18 ` Érico Nogueira
2021-10-12 0:38 ` (GalaxyMaster)
2021-10-12 15:58 ` Érico Nogueira
2021-10-12 17:38 ` Érico Nogueira
2021-10-13 6:16 ` A. Wilcox [this message]
2021-10-13 13:56 ` Rich Felker
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=F7E8D2A4-7449-4843-9D92-22FDA05C6154@adelielinux.org \
--to=awilfox@adelielinux.org \
--cc=musl@lists.openwall.com \
/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.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/musl/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).