Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] dynamic groups and users
Date: Sat, 17 Aug 2019 20:38:23
Message-Id: d51d668c1f3720ef8235060a92a22c16bd2ede49.camel@gentoo.org
In Reply to: [gentoo-dev] dynamic groups and users by Jaco Kroon
1 Hi, Jaco.
2
3 On Thu, 2019-08-01 at 21:04 +0200, Jaco Kroon wrote:
4 > Looking at the new eclasses for acct-user and acct-group.
5 >
6 > These enforce that a group and user id should be set.
7 >
8 > This is not a requirement for enewuser nor enewgroup.
9 >
10 > As a further discrepancy, the user eclass requires >0 for the IDs,
11 > whereas the checks in acct-user and acct-group is for >= 0.
12 >
13 > Would it be ok to suggest that we allow -1 (or 0, but that could be
14 > confused with the root user/group) in acct-user and acct-group to
15 > specify "no specific id, please allocate dynamically"?
16 >
17
18 I've just pushed the patch permitting -1. Enjoy!
19
20 --
21 Best regards,
22 Michał Górny

Attachments

File name MIME type
signature.asc application/pgp-signature