author | John Beck <John.Beck@Oracle.COM> |
Fri, 16 Jan 2015 12:38:45 -0800 | |
changeset 3649 | 4006eaaa7d29 |
permissions | -rw-r--r-- |
3649
4006eaaa7d29
20355401 add sendmail to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
1 |
'\" te |
4006eaaa7d29
20355401 add sendmail to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
2 |
.\" Copyright (c) 2006 Sun Microsystems, Inc. All Rights Reserved. |
4006eaaa7d29
20355401 add sendmail to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
3 |
.TH check-hostname 1M "8 Mar 2006" "SunOS 5.12" "System Administration Commands" |
4006eaaa7d29
20355401 add sendmail to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
4 |
.SH NAME |
4006eaaa7d29
20355401 add sendmail to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
5 |
check-hostname \- check if sendmail can determine the system's fully-qualified host name |
4006eaaa7d29
20355401 add sendmail to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
6 |
.SH SYNOPSIS |
4006eaaa7d29
20355401 add sendmail to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
7 |
.LP |
4006eaaa7d29
20355401 add sendmail to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
8 |
.nf |
4006eaaa7d29
20355401 add sendmail to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
9 |
\fB /usr/sbin/check-hostname\fR |
4006eaaa7d29
20355401 add sendmail to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
10 |
.fi |
4006eaaa7d29
20355401 add sendmail to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
11 |
|
4006eaaa7d29
20355401 add sendmail to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
12 |
.SH DESCRIPTION |
4006eaaa7d29
20355401 add sendmail to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
13 |
.sp |
4006eaaa7d29
20355401 add sendmail to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
14 |
.LP |
4006eaaa7d29
20355401 add sendmail to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
15 |
The \fBcheck-hostname\fR script is a migration aid for \fBsendmail\fR(1M). This script tries to determine the local host's fully-qualified host name (FQHN) in a manner similar to \fBsendmail\fR(1M). If \fBcheck-hostname\fR is able to determine the \fBFQHN\fR of the local host, it reports success. Otherwise, \fBcheck-hostname\fR reports how to reconfigure the system so that the \fBFQHN\fR can be properly determined. |
4006eaaa7d29
20355401 add sendmail to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
16 |
.SH FILES |
4006eaaa7d29
20355401 add sendmail to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
17 |
.sp |
4006eaaa7d29
20355401 add sendmail to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
18 |
.ne 2 |
4006eaaa7d29
20355401 add sendmail to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
19 |
.mk |
4006eaaa7d29
20355401 add sendmail to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
20 |
.na |
4006eaaa7d29
20355401 add sendmail to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
21 |
\fB\fB/etc/hosts\fR\fR |
4006eaaa7d29
20355401 add sendmail to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
22 |
.ad |
4006eaaa7d29
20355401 add sendmail to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
23 |
.RS 22n |
4006eaaa7d29
20355401 add sendmail to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
24 |
.rt |
4006eaaa7d29
20355401 add sendmail to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
25 |
Host name database |
4006eaaa7d29
20355401 add sendmail to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
26 |
.RE |
4006eaaa7d29
20355401 add sendmail to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
27 |
|
4006eaaa7d29
20355401 add sendmail to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
28 |
.sp |
4006eaaa7d29
20355401 add sendmail to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
29 |
.ne 2 |
4006eaaa7d29
20355401 add sendmail to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
30 |
.mk |
4006eaaa7d29
20355401 add sendmail to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
31 |
.na |
4006eaaa7d29
20355401 add sendmail to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
32 |
\fB\fB/etc/nsswitch.conf\fR\fR |
4006eaaa7d29
20355401 add sendmail to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
33 |
.ad |
4006eaaa7d29
20355401 add sendmail to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
34 |
.RS 22n |
4006eaaa7d29
20355401 add sendmail to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
35 |
.rt |
4006eaaa7d29
20355401 add sendmail to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
36 |
Name service switch configuration file |
4006eaaa7d29
20355401 add sendmail to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
37 |
.RE |
4006eaaa7d29
20355401 add sendmail to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
38 |
|
4006eaaa7d29
20355401 add sendmail to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
39 |
.sp |
4006eaaa7d29
20355401 add sendmail to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
40 |
.ne 2 |
4006eaaa7d29
20355401 add sendmail to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
41 |
.mk |
4006eaaa7d29
20355401 add sendmail to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
42 |
.na |
4006eaaa7d29
20355401 add sendmail to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
43 |
\fB\fB/etc/resolv.conf\fR\fR |
4006eaaa7d29
20355401 add sendmail to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
44 |
.ad |
4006eaaa7d29
20355401 add sendmail to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
45 |
.RS 22n |
4006eaaa7d29
20355401 add sendmail to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
46 |
.rt |
4006eaaa7d29
20355401 add sendmail to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
47 |
Configuration file for name server routines |
4006eaaa7d29
20355401 add sendmail to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
48 |
.RE |
4006eaaa7d29
20355401 add sendmail to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
49 |
|
4006eaaa7d29
20355401 add sendmail to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
50 |
.SH ATTRIBUTES |
4006eaaa7d29
20355401 add sendmail to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
51 |
.sp |
4006eaaa7d29
20355401 add sendmail to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
52 |
.LP |
4006eaaa7d29
20355401 add sendmail to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
53 |
See \fBattributes\fR(5) for descriptions of the following attributes: |
4006eaaa7d29
20355401 add sendmail to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
54 |
.sp |
4006eaaa7d29
20355401 add sendmail to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
55 |
|
4006eaaa7d29
20355401 add sendmail to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
56 |
.sp |
4006eaaa7d29
20355401 add sendmail to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
57 |
.TS |
4006eaaa7d29
20355401 add sendmail to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
58 |
tab() box; |
4006eaaa7d29
20355401 add sendmail to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
59 |
cw(2.75i) |cw(2.75i) |
4006eaaa7d29
20355401 add sendmail to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
60 |
lw(2.75i) |lw(2.75i) |
4006eaaa7d29
20355401 add sendmail to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
61 |
. |
4006eaaa7d29
20355401 add sendmail to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
62 |
ATTRIBUTE TYPEATTRIBUTE VALUE |
4006eaaa7d29
20355401 add sendmail to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
63 |
_ |
4006eaaa7d29
20355401 add sendmail to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
64 |
Availabilityservice/network/smtp/sendmail |
4006eaaa7d29
20355401 add sendmail to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
65 |
_ |
4006eaaa7d29
20355401 add sendmail to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
66 |
Interface StabilityCommitted |
4006eaaa7d29
20355401 add sendmail to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
67 |
.TE |
4006eaaa7d29
20355401 add sendmail to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
68 |
|
4006eaaa7d29
20355401 add sendmail to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
69 |
.SH SEE ALSO |
4006eaaa7d29
20355401 add sendmail to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
70 |
.sp |
4006eaaa7d29
20355401 add sendmail to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
71 |
.LP |
4006eaaa7d29
20355401 add sendmail to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
72 |
\fBdomainname\fR(1M), \fBsendmail\fR(1M), \fBhosts\fR(4), \fBattributes\fR(5) |