Users and groups kept after a port deinstallation

jhell jhell at dataix.net
Sun May 23 03:47:53 UTC 2010


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


More information about the freebsd-ports mailing list