Gentoo Archives: gentoo-dev

From: Alexey Shvetsov <alexxy@g.o>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] Determenistic system group and user id
Date: Sun, 13 Dec 2015 18:04:01
Message-Id: 22c8fc780e34e11cc460dcadda4202b4@omrb.pnpi.spb.ru
1 Hi all!
2
3 We trying to use ldap for users @work, many of our workstations running
4 binary gentoo based distro called Calculate linux. However if we wanna
5 have wide use of ldap there is a need for determenistic system group
6 gids names and user uids.
7
8 Many ebuilds in tree uses enewgroup and enewuser with -1 (aka next
9 available parameter)[1]. However it will be much better to set distro
10 wide deterministic uid and gid for system service name. So for example
11 ldap users may have determenistic groups like video, audio, plugdev,
12 etc..
13
14 [1] $ egrep '(enewgroup|enewuser)' * -R | awk -F '/' '{print $1 "/" $2}'
15 | grep -v eclass | sort -u | wc -l
16 443
17 So there not so much gid uids needed
18
19 --
20 Best Regards,
21 Alexey 'Alexxy' Shvetsov
22 Best Regards,
23 Alexey 'Alexxy' Shvetsov, PhD
24 Department of Molecular and Radiation Biophysics
25 FSBI Petersburg Nuclear Physics Institute, NRC Kurchatov Institute,
26 Leningrad region, Gatchina, Russia
27 Gentoo Team Ru
28 Gentoo Linux Dev
29 mailto:alexxyum@×××××.com
30 mailto:alexxy@g.o
31 mailto:alexxy@×××××××××××××.ru

Replies

Subject Author
[gentoo-dev] Use GLEP27! "Robin H. Johnson" <robbat2@g.o>
Re: [gentoo-dev] Determenistic system group and user id Mike Gilbert <floppym@g.o>
Re: [gentoo-dev] Determenistic system group and user id Alec Warner <antarus@g.o>