User`s guide

Chapter 15 User Authorization and Access Control 271
3. Using vi or any other standard Linux-compliant file editor, display the contents
of .bashrc.
For example:
4. Modify the TMOUT=xxxx environment variable by entering a 4-digit number
that sets the number of seconds that is allowed before the timeout expires and
the root login is terminated.
Enter a 4-digit number between zero (which disables the timeout feature
completely) and 9999 (which is 166.64 minutes).
5. Write and quit the file to save the new timeout.
6. Remount the file system with read-write permissions.
For example:
7. Log out of the current root user session (exit) on the Oracle Fabric
Interconnect.
The new timeout value is applied to the next root user login and all others after
that.
vi .bashrc
# ~/.bashrc: executed by bash(1) for non-login shells.
export PS1='\h:\w\$ '
umask 022
# You may uncomment the following lines if you want `ls' to be colorized:
# export LS_OPTIONS='--color=auto'
# eval "`dircolors`"
# alias ls='ls $LS_OPTIONS'
# alias ll='ls $LS_OPTIONS -l'
# alias l='ls $LS_OPTIONS -lA'
#
# Some more alias to avoid making mistakes:
# alias rm='rm -i'
# alias cp='cp -i'
# alias mv='mv -i'
#
# Set user idle logout timeout to 60 min
# To disable it set it to 0 or comment out export command
#
TMOUT=3600
readwrite TMOUT
export TMOUT
pogrom:~# remount . RO
Remounting / RO: OK