Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [PATCH] acct-user.eclass: Support var overrides for user properties
Date: Mon, 04 Jan 2021 23:16:57
Message-Id: 962c99e657e282668e9f321e376cb0ac9dda6b82.camel@gentoo.org
In Reply to: Re: [gentoo-dev] [PATCH] acct-user.eclass: Support var overrides for user properties by Patrick McLean
1 On Mon, 2021-01-04 at 14:58 -0800, Patrick McLean wrote:
2 > On Mon, 4 Jan 2021 18:08:02 +0100
3 > Michał Górny <mgorny@g.o> wrote:
4 >
5 > > Introduce a few variables to allow easy overrides of common user account
6 > > proprerties, that is:
7 > >
8 > > - ACCT_USER_<username>_SHELL
9 > > - ACCT_USER_<username>_HOME
10 > > - ACCT_USER_<username>_HOME_OWNER
11 > > - ACCT_USER_<username>_HOME_PERMS
12 > > - ACCT_USER_<username>_GROUPS
13 > > - ACCT_USER_<username>_GROUPS_ADD
14 >
15 > Please also add a way to override the UID/GID for the user/group.
16
17 Damn it, and I thought I'd avoid that ;-). But do we really need it?
18 The eclass doesn't enforce UID/GID by default if the user exists
19 already, so it's a bit tangential to the original problem.
20
21 --
22 Best regards,
23 Michał Górny

Replies