Safe and Powerful: Security in HP-UX System Management Homepage (SMH)
8
Table 1: SMH Configuration – Timeout Variables
Variable
Description
Script
JAVA_HOME
This variable points to the
/opt/hpsmh/lbin/envvars
directory where JDK is installed.
/opt/hpsmh/lbin/envvars
<session-
timeout>15</session-
timeout>
The <session-timeout> tag
defines the HP SMH session timeout in
minutes. If it is defined, then the HP
SMH session stops after the time
period has elapsed without any user
activity. If it is not defined, then the
default for the HP SMH session timeout
is 15 minutes. You can define the
<session-timeout> tag using any
value between 6 and 120 minutes.
/opt/hpsmh/conf.common/smhpd.xml
TIMEOUT_SMH
The TIMEOUT_SMH environment
variable defines the HP SMH server
timeout in minutes. If it is defined and
lower than the HP SMH session
timeout, the HP SMH server stops 3
minutes after the HP SMH session
timeout. If it is defined and greater
than the HP SMH session timeout, then
the HP SMH server stops after the time
period has elapsed without any user
activity. If it is not defined or equal to
zero, then HP SMH starts without
timeout. When the ‘automatic startup
on boot’ startup mode is in use, the
timeout mechanism does not start.
/opt/hpsmh/conf/timeout.conf
TIMEOUT_TOMCAT
This variable defines the Tomcat
timeout in minutes in the
/opt/hpsmh/conf/timeout.conf
file. If it is defined, Tomcat stops after
this time period has elapsed without
any request to a Java web
application. By default, the timeout for
the HP-UX Tomcat-based Servlet
Engine is 20 minutes and the timeout
for the HP-UX Apache-based Web
Server is 30 minutes. If it is not
defined or equal to zero, then Tomcat
starts without timeout. In this case,
Tomcat stops only when HP SMH is
stopped.
/opt/hpsmh/conf/timeout.conf
Startup modes
SMH supports three startup modes. You can set the startup mode according to your security
policies and requirements.