1check-permissions(1M) System Administration Commands check-permissions(1M)
2
3
4
6 check-permissions - check permissions on mail rerouting files
7
9 /usr/sbin/check-permissions [login]
10
11
13 The check-permissions script is intended as a migration aid for send‐
14 mail(1M). It checks the /etc/mail/sendmail.cf file for all configured
15 alias files, and checks the alias files for :include: files. It also
16 checks for certain .forward files. For each file that check-permis‐
17 sions checks, it verifies that none of the parent directories are
18 group- or world-writable. If any directories are overly permissive, it
19 is reported. Otherwise it reports that no unsafe directories were
20 found.
21
22
23 As to which .forward files are checked, it depends on the arguments
24 included on the command line. If no argument is given, the current
25 user's home directory is checked for the presence of a .forward file.
26 If any arguments are given, they are assumed to be valid logins, and
27 the home directory of each one is checked.
28
29
30 If the special argument ALL is given, the passwd entry in the
31 /etc/nsswitch.conf file is checked, and all password entries that can
32 be obtained through the switch file are checked. In large domains, this
33 can be time-consuming.
34
36 The following operands are supported:
37
38 login Where login is a valid user name, checks the home directory
39 for login.
40
41
42 ALL Checks the home directory of all users.
43
44
46 /etc/mail/sendmail.cf Defines environment for sendmail
47
48
49 /etc/mail/aliases Ascii mail aliases file
50
51
53 See attributes(5) for descriptions of the following attributes:
54
55
56
57
58 ┌─────────────────────────────┬─────────────────────────────┐
59 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
60 ├─────────────────────────────┼─────────────────────────────┤
61 │Availability │SUNWsndmu │
62 ├─────────────────────────────┼─────────────────────────────┤
63 │Interface Stability │Evolving │
64 └─────────────────────────────┴─────────────────────────────┘
65
67 getent(1M), sendmail(1M), aliases(4), attributes(5)
68
69
70
71SunOS 5.11 10 Nov 2003 check-permissions(1M)