]> diplodocus.org Git - nmh/blob - docs/historical/mh-jun-1982/man/conflict.8
Replaced use of snprintf() with memcpy()/memmove().
[nmh] / docs / historical / mh-jun-1982 / man / conflict.8
1 .TH CONFLICT 8 RAND
2 .SH NAME
3 conflict \- Search for alias/password conflicts
4 .SH SYNOPSIS
5 .B /etc/mh/conflict
6 [\fB\-mail\fR\ name]
7 .SH DESCRIPTION
8 .I Conflict
9 is a program which checks to see that inconsistencies between
10 the Rand MH alias file (
11 .I mh-alias(5)
12 ) and the
13 .I password(5)
14 file have not been introduced. In particular, a line in the
15 alias file may be "tom: jones" (because the user "jones" likes to be
16 called Tom), but if "tom" is also a valid user name for someone else, then
17 that user will no longer receive any mail; his mail will be received
18 by "jones" instead!
19 .PP
20 .I Conflict
21 also checks for mailboxes in /usr/spool/mail which do not belong
22 to a valid user.
23 It assumes that no user name will start with `.',
24 and thus ignores files in /usr/spool/mail which
25 begin with `.'.
26 It also checks for entries in the
27 .I group(5)
28 file which do not belong to a valid user, and for users who do
29 not belong to any group in the group file. This last test is
30 local to Rand, and will not be performed unless the \-DRAND flag
31 was set at compile time.
32 .PP
33 If the
34 .I \-mail
35 flag is set, then the results will be sent to the specified
36 .I name.
37 Otherwise, the results are sent to the standard output.
38 .PP
39 .I Conflict
40 should be run under
41 .I Cron(1),
42 or whenever system accounting takes place.
43 .SH FILES
44 /etc/MailAliases
45 .br
46 /etc/passwd
47 .br
48 /etc/group
49 .br
50 /usr/spool/mail/*
51 .SH SEE ALSO
52 mh-alias(5), passwd(5), group(5), ali(1)