public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Michael Orlitzky <mjo@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: [gentoo-dev] acct-user.eclass: make ACCT_USER_NAME writable
Date: Sun, 05 May 2024 15:58:47 -0400	[thread overview]
Message-ID: <d745cb0110eb5238701a5721d745ffb3d3afb9c3.camel@gentoo.org> (raw)

acct-user.eclass makes the username variable read-only:

  # The name of the user. This is forced to ${PN} and the 
  # policy prohibits it from being changed.
  ACCT_USER_NAME=${PN}
  readonly ACCT_USER_NAME

That enforces the ::gentoo policy, but in an overlay, makes it
impossible to create valid usernames due to package name restrictions.

Case in point: ACCT_USER_NAME=www.example.com

Can we please drop the readonly? I'm rebuilding a pre-GLEP81 server and
would like to manage the users in a more meaningful way than as lines
in /etc/passwd.

(The same issue arises in acct-group.eclass)



                 reply	other threads:[~2024-05-05 19:58 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=d745cb0110eb5238701a5721d745ffb3d3afb9c3.camel@gentoo.org \
    --to=mjo@gentoo.org \
    --cc=gentoo-dev@lists.gentoo.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