Gentoo Archives: gentoo-dev

From: Philipp Riegger <lists@××××××××××××.de>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Managing users and groups
Date: Sun, 09 Sep 2007 08:36:35
Message-Id: 1189325752.2950.3.camel@troy.riegger.name
In Reply to: Re: [gentoo-dev] Managing users and groups by Daniel Pielmeier
1 On Sun, 2007-09-09 at 06:14 +0200, Daniel Pielmeier wrote:
2 > A group/user is created when no other ebuild has the dependency and is
3 > removed when the last ebuild has been removed which needs it?
4
5 This blows up if you have to uninstall and reinstall a package, caused
6 by blockers or whatever. Files exist that still belong to the
7 user/group, new user/group have different ids. So either make sure the
8 uids and gids stay the same or just leave them be. Usually you have an
9 extra user for security reasons with minimal access rights. There is
10 absolutely no harm in that. I would prefer this to be another eclean
11 function or something like that, which scans passwd, shadow, group,
12 package database and all the files and dirs for owners.
13
14 Philipp
15
16 --
17 gentoo-dev@g.o mailing list