Date: Sat, 22 May 2010 23:47:49 -0400 From: jhell <jhell@dataix.net> To: Ade Lovett <ade@freebsd.org> Cc: freebsd-ports@freebsd.org Subject: Re: Users and groups kept after a port deinstallation Message-ID: <4BF8A565.7040309@dataix.net> In-Reply-To: <A8D32BA4-70D5-48DC-B992-8B093BD97774@FreeBSD.org> References: <AANLkTindTvyrfPRj_cGWUC3LXWI63bGN5azaXo_xYRVu@mail.gmail.com> <AANLkTikNB0LbKG1qtL90F-thxeCvvSqnBxOCCDSucVS6@mail.gmail.com> <20100522005313.26dcfbdb@gumby.homeunix.com> <AANLkTim9NqCGi_iPMuoivw0z2bzEXHkt39VPk6c7aHyt@mail.gmail.com> <4BF787E2.9010907@dataix.net> <20100522120815.063975ae@gumby.homeunix.com> <4BF7C6EE.3010001@dataix.net> <20100522134212.3d5447a8@gumby.homeunix.com> <4BF7FB7D.1010501@dataix.net> <20100522235425.1ab2c504@gumby.homeunix.com> <86aarr8q0m.fsf@gmail.com> <A8D32BA4-70D5-48DC-B992-8B093BD97774@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 05/22/2010 21:50, Ade Lovett wrote: > > On May 22, 2010, at 16:39 , Anonymous wrote: >> >> Such unused entries in passwd add clutter. It in turn makes managing >> users more complex. You have to remember which users are created by you >> and which ones are created by ports. > > Irrespective of the UID/GID stuff mentioned elsewhere, merely go through the ports tree and add (or append) "(created by ports)" to the GECOS field of any such created users. > I do like this idea, but with respects to such; storing when it was created and what created it like "www/apache22" might be a little more useful to narrow these down. But if a port can install a user there is no reason that it can not uninstall a user via pw(8) that is available from bsd.commands.mk after checking a recorded md5(1) sum that it could create upon installation for the output of pw usershow/groupshow UID/GID. -- jhell
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4BF8A565.7040309>