System Administration Commands tnd(1M)
NAME
tnd - trusted network daemon
SYNOPSIS
/usr/sbin/tnd [-p poll-interval]
DESCRIPTION
The tnd (trusted network daemon) initializes the kernel with
trusted network databases and also reloads the databases ondemand from an LDAP server and local files. tnd follows the
order specified in the nsswitch.conf file when loading con-
figuration databases.tnd is intended to be started from the svc:/network/tnd
smf(5) service during the boot process in the global zone only when the system has been configured as an LDAP client. Systems that use only local files for the trusted networkdatabases use tnctl(1M) instead of tnd.
tnd loads the following databases into the kernel: the
remote host database, tnrhdb, and the remote-host template
database, tnrhtp. tnd also periodically scans for changes in
the associated LDAP database or local databases and updates the kernel cache accordingly. If a local trusted networking database file is modified, the administrator should run tnchkdb(1M) to check the syntax,and should also run svcadm refresh svc:/network/tnd to ini-
tiate an immediate database scan by tnd.
tnd is intended to be started from an smf(5) script and to
run in the global zone. The following svcadm commands signaltnd to perform specific actions:
svcadm refresh svc:/network/tnd
Initiates a rescan of the local and LDAP tnrhdb andtnrhtp databases. tnd updates the kernel database with
any changes found.svcadm disable svc:/network/tnd
Terminates the tnd daemon. No changes are made to the
kernel database.SunOS 5.11 Last change: 9 Apr 2010 1
System Administration Commands tnd(1M)
Running tnd in debug mode is determined by the value of the
following service management facility (SMF) property:tnd/debug_level = 0
A value of 0, as above, prevents debug information from being collected; 1 turns on debugging. The default value is0. Debug output is sent to the /var/tsol/tndlog log file.
OPTIONS-p poll-interval Set poll interval to poll-interval
seconds. The default poll-interval is
1800 seconds (30 minutes).EXAMPLES
Example 1 Changing the Poll Interval The following command changes the polling interval to one hour, and puts this interval in the SMF repository. At thenext boot, the tnd poll interval will be one hour.
# svccfg -s network/tnd setprop tnd/poll_interval=3600
The following command changes the polling interval, but doesnot update the repository. At the next boot, the tnd poll
interval remains the default, 30 minutes.# tnd -p 3600
FILES /etc/security/tsol/tnrhdbTrusted network remote-host database
/etc/security/tsol/tnrhtpTrusted network remote-host templates
SunOS 5.11 Last change: 9 Apr 2010 2
System Administration Commands tnd(1M)
/etc/security/tsol/tnzonecfg Trusted zone configuration database /etc/nsswitch.conf Configuration file for the name service switchATTRIBUTES
See attributes(5) for descriptions of the following attri-
butes:____________________________________________________________
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|_____________________________|_____________________________|
| Availability | system/trusted ||_____________________________|_____________________________|
| Interface Stability | See below. ||_____________________________|_____________________________|
The command invocation is Committed. The service is Private.SEE ALSO
svcs(1), svcadm(1M), tninfo(1M), tnctl(1M), tnchkdb(1M), nsswitch.conf(4), attributes(5), smf(5) How to Synchronize Kernel Cache With Network Databases in Solaris Trusted Extensions Administrator's Procedures NOTES The functionality described on this manual page is available only if the system is configured with Trusted Extensions.The tnd service is managed by the service management facil-
ity, smf(5), under the service identifier:svc:/network/tnd
The service's status can be queried by using svcs(1). Admin-
istrative actions on this service, such as requests to res-
tart the daemon, can be performed using svcadm(1M), as in:SunOS 5.11 Last change: 9 Apr 2010 3
System Administration Commands tnd(1M)
svcadm restart svc:/network/tnd
SunOS 5.11 Last change: 9 Apr 2010 4