public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] acct-user.eclass: make ACCT_USER_NAME writable
@ 2024-05-05 19:58 Michael Orlitzky
  0 siblings, 0 replies; only message in thread
From: Michael Orlitzky @ 2024-05-05 19:58 UTC (permalink / raw)
  To: gentoo-dev

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)



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-05-05 19:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-05-05 19:58 [gentoo-dev] acct-user.eclass: make ACCT_USER_NAME writable Michael Orlitzky

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox