-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thursday 29 January 2004 07:25, Drake Wyrm wrote: > On Wed, Jan 28, 2004 at 09:32:33PM -0500, in > <[EMAIL PROTECTED]>, Donnie Berkholz > > <[EMAIL PROTECTED]> wrote: > > It might be a good idea to keep system users to one user per > > package, instead of generic things, so everything has just one > > purpose. For example, user "heartbeat" instead of "cluster." > > Agreed. Daemons are like users without bodies. They need unique names. > I can see undesired consequences of, for example, forcing every server > package in net-ftp to run as the user 'ftp'. If you really want to get > freaky with the idea though, the usernames assigned to daemons should > be locally configurable. Think this one is worthy of a GLEP?
Basically I think we need a way to just say "ensureUser heartbeat" or "ensureGroup heartbeat" which will add a user/group with that name if not available through nsswitch. It should probably call an adduser/addgroup script to add the user/group. Ebuilds should not depend on specific numbers. If there are ebuilds that want the existence of the user to exist at compilation time we might need to have a way to do it before compiling (and before installation too). Applications that want to know the numeric uid/gid should be patched to retrieve it based on a username / groupname instead. Paul - -- Paul de Vrieze Gentoo Developer Mail: [EMAIL PROTECTED] Homepage: http://www.devrieze.net -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFAGMyKbKx5DBjWFdsRAnW2AKCwtvk1XhPs+eABoi6CF6TBLg/81gCeNm2o 94HdDMYWfZQKZN16ZjtLtOs= =H3xJ -----END PGP SIGNATURE----- -- [EMAIL PROTECTED] mailing list
