installed ports library audit?

Matthew Seaman matthew at FreeBSD.org
Mon Mar 1 18:33:03 UTC 2021


On 01/03/2021 16:51, Gary Aitken wrote:

> For future disasters...
> If I needed to, is there a master easy to get at that I can diff against
> to see what the changes to things like /etc/passwd are?
> I could regenerate the .db files if I knew the source was ok, but to check
> that I would need to be able to diff.

For /etc files, and if you use etcupdate(8), then there will be pristine 
copies of many files under /var/db/etcupdate/current or 
/var/db/etcupdate/old

However, you'ld really only use etcupdate(8) if you were installing from 
source, so you'ld also have pristine copies hiding somewhere under /usr/src.

  	Cheers,

	Matthew





-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20210301/6ffa4483/attachment.sig>


More information about the freebsd-questions mailing list