1 .\" $OpenBSD: changelist.5,v 1.8 2012/07/08 21:48:38 schwarze Exp $
3 .\" Copyright (c) 2003 Jason McIntyre <jmc@openbsd.org>
5 .\" Permission to use, copy, modify, and distribute this software for any
6 .\" purpose with or without fee is hereby granted, provided that the above
7 .\" copyright notice and this permission notice appear in all copies.
9 .\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10 .\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11 .\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12 .\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13 .\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14 .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15 .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
17 .Dd $Mdocdate: July 8 2012 $
22 .Nd list of backup files
28 file is a simple text file containing the names of files to be backed up
29 and checked for modification by the system security script,
31 It is checked daily by the
38 Each line of the file contains the name of a file,
39 specified by its absolute pathname,
41 By default, configuration files in
46 are added during system install.
47 Administrators may add additional files at their discretion.
48 Shell globbing is supported in pathnames.
50 Backup files are held in the directory
52 A backup of the current version of a file is kept in this directory, marked
54 When the file is altered, the old version is marked as
56 and the new version becomes
60 the system shell database,
63 .Pa /var/backups/etc_shells.current .
64 When this file is modified, it is renamed to
65 .Pa /var/backups/etc_shells.backup
66 and the new version becomes
67 .Pa /var/backups/etc_shells.current .
68 Thereafter, these files are rotated.
70 Diffs are mailed to the root administrator, in unified
74 in the following format:
75 .Bd -unfilled -offset indent
77 /etc/shells diffs (-OLD +NEW)
86 .Pq generally non-text files
90 Results are mailed in the following format:
91 .Bd -unfilled -offset indent
93 /etc/ssh/ssh_host_key SHA-256 checksums
99 Lines beginning with the comment character
102 and non-existent files are all silently ignored.
105 .Bl -tag -width /etc/changelist -compact
106 .It Pa /etc/changelist
109 Maintenance script which runs
112 Directory containing file backups.
122 manual page first appeared in
125 Anyone with the privileges to alter system configuration files
126 could also alter the backup files in
128 It is important that this directory be owned by root:wheel
129 and have permissions 0700 set.
133 file itself could cause confusion.
136 cannot warn about files being added to the system, although
138 will pick up on any files listed in
140 being added or deleted.
141 Removals are only noticed for files listed explicitly,
142 but not for files matched by globbing.
144 If you hose your system configuration files,
145 you just might be able to find the information you need in
147 This is not a CAVEAT, but we had to let you know somehow!