mtree files

The following files are mtree specifications that can be used to remove the given collection files. To use these specifications, use the command

mtree -r -f spec-file
To view the changes that would be made (without making them), use the command
mtree -f spec-file
In both cases, disregard warnings about "missing" files. Note that the directory structures are left in place, only the actual files are removed.

Changes:

fresh-system.mtree.gz 73K mtree -c specification for a freshly installed 3.0-stable, without the size= or time= attributes. The system consists of bsd, base30.tgz, comp30.tgz, etc30.tgz, man30.tgz and misc30.tgz.
apache.mtree.gz 15K mtree -r spec for removing all httpd-related files. Master file list is here: apache.files.
bind.mtree.gz 13K mtree -r spec for removing all named-related files. Master file list is here: bind.files.
ftpd.mtree.gz 10K mtree -r spec for removing all ftpd-related files. Master file list is here: ftpd.files.
inetd.mtree.gz 11K mtree -r spec for removing all inetd-related files. Master file list is here: inetd.files.
lpr.mtree.gz 15K mtree -r spec for removing all lpr-related files. Master file list is here: lpr.files.
ppp.mtree.gz 11K mtree -r spec for removing all ppp-related files. Master file list is here: ppp.files.
pppd.mtree.gz 10K mtree -r spec for removing all pppd-related files. Master file list is here: pppd.files.
pppoe.mtree.gz 10K mtree -r spec for removing all pppoe-related files. Master file list is here: pppoe.files.
sendmail.mtree.gz 14K mtree -r spec for removing all sendmail-related files. Master file list is here: sendmail.files.
tftpd.mtree.gz 9K mtree -r spec for removing all tftpd-related files. Master file list is here: tftpd.files.
yp.mtree.gz 15K mtree -r spec for removing all YP-related files. Master file list is here: yp.files.
smtpd.mtree.gz 9K mtree -r spec for removing all smtp(fwd)d-related files. Master file list is here: smtpd.files.
sudo.mtree.gz 13K mtree -r spec for removing all sudo-related files. Master file list is here: sudo.files.
at.mtree.gz 11K mtree -r spec for removing all at-related files. Master file list is here: at.files.
kerberos.mtree.gz 29K mtree -r spec for removing all Kerberos-related files. Master file list is here: kerberos.files.
ipsec.mtree.gz 11K mtree -r spec for removing all IPsec-related userland files. Master file list is here: ipsec.files.

To-do (amongst other things...)

Special files

special-files.txt 2K The list of SUID, SGID (or both) files on a 3.0-stable, with their owners and groups.
special-suggestion-20020222-1446.txt 2K Initial suggestion for what to do with each special file. Possible actions are UN-SUID, UN-SGID, REMOVE or NONE.
special-suggestion-20020225-1059.txt 2K Updated suggestion. Changes:
  • /sbin/ccdconfig is marked UN-SUID rather than REMOVE.
  • lpc, lpq, lpr, lprm, sendmail, ppp and pppd are commented-out since I now have mtree specs for this.
special-suggestion-20020225-1759.txt 2K Updated suggestion. Changes:
  • Commented-out sudo, batch, at, atq, atrm since these are now handled by an mtree spec.
special.mtree.gz 1K Initial mtree specification for adjusting SUID and SGID bits. Use this with
mtree -euf mtree.special
to adjust the permissions, or with
mtree -ef mtree.special
to check. Note that instead of removing files, this spec changes the file permission to 000 and makes root:wheel the owner.
special.mtree.gz 5K Second mtree specification for adjusting SUID and SGID bits. This mtree spec will also remove offending files. To adjust and/or remove, use
mtree -rf mtree.special
.

To-do (amongst other things...)