components/trousers/patches/man_man5_tcsd.conf.5.in.patch
author Niveditha Rau <Niveditha.Rau@Oracle.COM>
Tue, 11 Oct 2016 11:08:35 -0700
changeset 7086 bad5d0bc7457
parent 6898 9485a934366d
permissions -rw-r--r--
24829846 libxklavier upgrade broke keyboard gnome-keyboard-properties

--- man/man5/tcsd.conf.5.in	2014-04-24 11:05:44.000000000 +0000
+++ man/man5/tcsd.conf.5.in	2016-09-12 10:00:43.162042248 +0000
@@ -26,14 +26,22 @@
 .SH "DESCRIPTION"
 .PP
 This file, by default
-.IR /etc/tcsd.conf
+.IR /etc/security/tcsd.conf
 is read by the trousers TCSD daemon, tcsd (see tcsd(8)). The tcsd.conf file
 that is installed by trousers contains all the default options, commented out.
 .SH "OPTIONS"
 .PP
 .BI port
-The port that TCSD will listen on for connections, local and remote, from
+The TCP port that TCSD will listen on for connections, local and remote, from
 applications.
+If 0, TCSD uses UNIX Domain socket /var/tpm/tcsd-socket,
+otherwise TCSD uses the TCP port specified
+(30003 is the traditional tcsd TCP port).
+If using a TCP Port (that is, port is not 0), clients such as tpmadm must set
+the port with shell environment variable TSS_TCSD_PORT. For example,
+.nf
+export TSS_TCSD_PORT=30003
+.fi
 
 .BI num_threads
 The maximum number of threads that the TCSD will spawn simultaneously to service
@@ -106,7 +114,7 @@
 .PP
 .IP
 .nf
-port = 30003
+port = 0
 num_threads = 10
 system_ps_file = /usr/local/var/tpm/system.data
 firmware_log_file = /proc/tpm/firmware_events