Gentoo Archives: gentoo-dev

From: Mike Kelly <pioto@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] GLEP 27: Revisited (aka dynusers/creandus)
Date: Tue, 03 Oct 2006 04:47:46
Message-Id: 20061003004457.3c5b0ad6@mk65-desktop.pioto.org
In Reply to: Re: [gentoo-dev] GLEP 27: Revisited (aka dynusers/creandus) by Donnie Berkholz
1 On Mon, 02 Oct 2006 21:28:21 -0700
2 Donnie Berkholz <dberkholz@g.o> wrote:
3
4 > Mike Kelly wrote:
5 > > All the files are handled like other files in cascading profiles.
6 > > Each line in the file is either a shell-style comment, or of the
7 > > form: "key: value". The keys are: uid, shell, home, groups,
8 > > comment, and gid.
9 >
10 > I'd prefer that the format be key=value for easier use by bash, as
11 > pretty much everything else in profiles is bash.
12
13 I would as well, since my code is written written in bash and that
14 would make it easier on me. I had tried to do it that way before,
15 but some folks suggested changing it to what it is now, although I
16 really forget why.
17
18 Only issue I can think of is that we'd have to be sure to pick key
19 names that don't conflict with bash variables like UID and SHELL, which
20 shouldn't really be that hard, so I'm sure there had to be some
21 stronger reason to not make it shell variables... I'll dig through logs
22 and try to figure out what it was.
23
24 --
25 Mike Kelly
26 --
27 gentoo-dev@g.o mailing list

Replies

Subject Author
Re: [gentoo-dev] GLEP 27: Revisited (aka dynusers/creandus) Mike Kelly <pioto@g.o>