07 Set Login Timeout and Login Profile

Overview

The console keeps timing out on me, so I needed to set the default login timeout value to a significantly high value.

I also update .bash_profile to reflect the current configuration.

References

Procedure

Update .bash_profile

I updated the .bash_profile to the following>

# .bash_profile # Get the aliases and functions if [ -f ~/.bashrc ]; then . ~/.bashrc fi # User specific environment and startup programs PATH=$PATH:$HOME/bin export PATH # Oracle 11G setup export ORACLE_BASE=/opt/oracle/app export ORACLE_HOME=${ORACLE_BASE}/OracleHomes/db11g export ORACLE_SID=repos export PATH=${ORACLE_HOME}/bin:${PATH} export ORACLE_HOSTNAME=${HOSTNAME} export NLS_DATE_FORMAT="YYYY/MM/DD HH24:MI:SS" # EM12C Setup export EM_HOME=${ORACLE_BASE}/middleware/12.1.0.3/oms export PATH=${EM_HOME}/bin:${PATH} export AGENT_HOME=${ORACLE_BASE}/agent/12.1.0.3

This profile is then activated via:

. ~/.bash_profile

Set Login Timeout

Following the procedure in OMS timeout or Login timeout, I ran the following command:

emctl set property -name oracle.sysman.eml.maxInactiveTime -value 1440 -module emoms

Cloud Control is then restarted.