1 |
-----BEGIN PGP SIGNED MESSAGE----- |
2 |
Hash: SHA1 |
3 |
|
4 |
On Thursday 29 January 2004 07:25, Drake Wyrm wrote: |
5 |
> On Wed, Jan 28, 2004 at 09:32:33PM -0500, in |
6 |
> <1075343553.23631.2.camel@localhost>, Donnie Berkholz |
7 |
> |
8 |
> <spyderous@g.o> wrote: |
9 |
> > It might be a good idea to keep system users to one user per |
10 |
> > package, instead of generic things, so everything has just one |
11 |
> > purpose. For example, user "heartbeat" instead of "cluster." |
12 |
> |
13 |
> Agreed. Daemons are like users without bodies. They need unique names. |
14 |
> I can see undesired consequences of, for example, forcing every server |
15 |
> package in net-ftp to run as the user 'ftp'. If you really want to get |
16 |
> freaky with the idea though, the usernames assigned to daemons should |
17 |
> be locally configurable. Think this one is worthy of a GLEP? |
18 |
|
19 |
Basically I think we need a way to just say "ensureUser heartbeat" or |
20 |
"ensureGroup heartbeat" which will add a user/group with that name if |
21 |
not available through nsswitch. It should probably call an |
22 |
adduser/addgroup script to add the user/group. Ebuilds should not depend |
23 |
on specific numbers. If there are ebuilds that want the existence of the |
24 |
user to exist at compilation time we might need to have a way to do it |
25 |
before compiling (and before installation too). Applications that want |
26 |
to know the numeric uid/gid should be patched to retrieve it based on a |
27 |
username / groupname instead. |
28 |
|
29 |
Paul |
30 |
|
31 |
- -- |
32 |
Paul de Vrieze |
33 |
Gentoo Developer |
34 |
Mail: pauldv@g.o |
35 |
Homepage: http://www.devrieze.net |
36 |
-----BEGIN PGP SIGNATURE----- |
37 |
Version: GnuPG v1.2.4 (GNU/Linux) |
38 |
|
39 |
iD8DBQFAGMyKbKx5DBjWFdsRAnW2AKCwtvk1XhPs+eABoi6CF6TBLg/81gCeNm2o |
40 |
94HdDMYWfZQKZN16ZjtLtOs= |
41 |
=H3xJ |
42 |
-----END PGP SIGNATURE----- |
43 |
|
44 |
-- |
45 |
gentoo-dev@g.o mailing list |