1502 Remove conversion cruft from manpages
[unleashed.git] / usr / src / man / man1m / tnd.1m
blob2d33b27eb1d9ba10259b145cd8b6c35ff3914878
1 '\" te
2 .\" Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved.
3 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License").  You may not use this file except in compliance with the License.
4 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing.  See the License for the specific language governing permissions and limitations under the License.
5 .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE.  If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
6 .TH TND 1M "May 15, 2008"
7 .SH NAME
8 tnd \- trusted network daemon
9 .SH SYNOPSIS
10 .LP
11 .nf
12 \fB/usr/sbin/tnd\fR  [\fB-p\fR \fIpoll-interval\fR]
13 .fi
15 .SH DESCRIPTION
16 .sp
17 .LP
18 The \fBtnd\fR (trusted network daemon) initializes the kernel with trusted
19 network databases and also reloads the databases on demand from an LDAP server
20 and local files.  \fBtnd\fR follows the order specified in the nsswitch.conf
21 file when loading configuration databases. \fBtnd\fR is started at the
22 beginning of the boot process.
23 .sp
24 .LP
25 \fBtnd\fR loads two databases into the kernel: the remote host database,
26 \fBtnrhdb\fR and the remote-host template database, \fBtnrhtp\fR. These
27 databases and their effect on the trusted network are described in their
28 respective man pages. When the associated \fBLDAP\fR database or local
29 databases are changed, \fBtnd\fR also updates the local kernel cache at the
30 predetermined interval.
31 .sp
32 .LP
33 If a local trusted networking database file is modified, the administrator
34 should run \fBtnchkdb\fR(1M) to check the syntax, and should also run \fBsvcadm
35 refresh svc:/network/tnd\fR to initiate an immediate database scan by
36 \fBtnd\fR.
37 .sp
38 .LP
39 \fBtnd\fR is intended to be started from an \fBsmf\fR(5) script and to run in
40 the global zone. The following signals cause specific \fBsvcadm\fR actions:
41 .sp
42 .ne 2
43 .na
44 \fB\fBSIGHUP\fR\fR
45 .ad
46 .RS 11n
47 Causes \fBsvcadm refresh svc:/network/tnd\fR to be run.
48 .sp
49 Initiates a rescan of the local and LDAP \fBtnrhdb\fR and \fBtnrhtp\fR
50 databases. \fBtnd\fR updates the kernel database with any changes found.
51 .RE
53 .sp
54 .ne 2
55 .na
56 \fB\fBSIGTERM\fR\fR
57 .ad
58 .RS 11n
59 Causes \fBsvcadm disable svc:/network/tnd\fR to be run.
60 .sp
61 Terminates the \fBtnd\fR daemon. No changes are made to the kernel database.
62 .RE
64 .sp
65 .LP
66 Running \fBtnd\fR in debug mode is determined by the value of the following
67 service  management facility (SMF) property:
68 .sp
69 .in +2
70 .nf
71 tnd/debug_level = 0
72 .fi
73 .in -2
75 .sp
76 .LP
77 A value of \fB0\fR, as above, prevents debug information from being collected;
78 \fB1\fR turns on debugging. The default value is \fB0\fR.  Debug output is sent
79 to the \fB/var/tsol/tndlog\fR log file.
80 .SH OPTIONS
81 .sp
82 .ne 2
83 .na
84 \fB\fB-p\fR \fIpoll-interval\fR\fR
85 .ad
86 .RS 20n
87 Set poll interval to \fIpoll-interval\fR seconds. The default
88 \fIpoll-interval\fR is 1800 seconds (30 minutes).
89 .RE
91 .SH EXAMPLES
92 .LP
93 \fBExample 1 \fRChanging the Poll Interval
94 .sp
95 .LP
96 The following command changes the polling interval to one hour, and puts this
97 interval in the SMF repository. At the next boot, the \fBtnd\fR poll interval
98 will be one hour.
101 .in +2
103 # \fBsvccfg -s network/tnd setprop tnd/poll_interval=3600\fR
105 .in -2
110 The following command changes the polling interval, but does not update the
111 repository. At the next boot, the \fBtnd\fR poll interval remains the default,
112 30 minutes.
115 .in +2
117 # tnd -p 3600
119 .in -2
122 .SH FILES
124 .ne 2
126 \fB\fB/etc/security/tsol/tnrhdb\fR\fR
128 .sp .6
129 .RS 4n
130 Trusted network remote-host database
134 .ne 2
136 \fB\fB/etc/security/tsol/tnrhtp\fR\fR
138 .sp .6
139 .RS 4n
140 Trusted network remote-host templates
144 .ne 2
146 \fB\fB/etc/security/tsol/tnzonecfg\fR\fR
148 .sp .6
149 .RS 4n
150 Trusted zone configuration database
154 .ne 2
156 \fB\fB/etc/nsswitch.conf\fR\fR
158 .sp .6
159 .RS 4n
160 Configuration file for the name service switch
163 .SH ATTRIBUTES
166 See \fBattributes\fR(5) for descriptions of the following attributes:
171 box;
172 c | c
173 l | l .
174 ATTRIBUTE TYPE  ATTRIBUTE VALUE
176 Interface Stability     See below.
181 The command invocation is Committed. The service is Private.
182 .SH SEE ALSO
185 \fBsvcs\fR(1), \fBsvcadm\fR(1M), \fBtninfo\fR(1M), \fBtnctl\fR(1M),
186 \fBtnchkdb\fR(1M), \fBnsswitch.conf\fR(4), \fBattributes\fR(5), \fBsmf\fR(5)
189 \fIHow to Synchronize Kernel Cache With Network Databases\fR in \fISolaris
190 Trusted Extensions Administrator\&'s Procedures\fR
191 .SH NOTES
194 The functionality described on this manual page is available only if the system
195 is configured with Trusted Extensions.
198 The \fBtnd\fR service is managed by the service  management facility,
199 \fBsmf\fR(5), under the service identifier:
201 .in +2
203 svc:/network/tnd
205 .in -2
210 The  service's status can be queried by using \fBsvcs\fR(1). Administrative
211 actions on this service,  such as requests to restart the daemon, can be
212 performed using \fBsvcadm\fR(1M), as in:
214 .in +2
216 svcadm restart svc:/network/tnd
218 .in -2