Users and groups kept after a port deinstallation

Matthew Seaman m.seaman at infracaninophile.co.uk
Sun May 23 06:02:45 UTC 2010


-----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-----


More information about the freebsd-ports mailing list