Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 May 2010 07:02:32 +0100
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        jhell <jhell@dataix.net>
Cc:        freebsd-ports@freebsd.org, Ade Lovett <ade@freebsd.org>
Subject:   Re: Users and groups kept after a port deinstallation
Message-ID:  <4BF8C4F8.9090103@infracaninophile.co.uk>
In-Reply-To: <4BF8A565.7040309@dataix.net>
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> <4BF8A565.7040309@dataix.net>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 23/05/2010 04:47:49, jhell wrote:
> 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.

The trick would be to teach the ports how to tell if a port was being
deleted for good, when trashing the user would be appropriate, or if the
port was being deleted as part of the process of upgrading it, when
you'ld want to keep the user.

	Cheers,

	Matthew

- -- 
Dr Matthew J Seaman MA, D.Phil.                   7 Priory Courtyard
                                                  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey     Ramsgate
                                                  Kent, CT11 9PW
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkv4xPcACgkQ8Mjk52CukIyoCwCdERkAVk19Iy0el1EpR46GlKSo
b6UAnAuVqhInDCfnAqw77mP5UrKKAYgK
=17k9
-----END PGP SIGNATURE-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4BF8C4F8.9090103>