Sponsored Content
Full Discussion: Tmout
Operating Systems AIX Tmout Post 302122280 by kwliew999 on Wednesday 20th of June 2007 02:46:37 AM
Old 06-20-2007
Tmout

I have the problem on the setting as I want to set all users to have TMOUT=600 and I set the value in /etc/profile. But certain users I don't want to have the TMOUT limitation. How should I set it?
 

2 More Discussions You Might Find Interesting

1. Red Hat

Cannot Get TMOUT (autologout) To Work For User Root

I am running Red Hat Enterprise Linux AS release 4 (Nahant Update 5) I am required to set the TMOUT variable for the root user so that root will be logged out automatically, after 5 minutes of inactivity. I have inserted the following into both /.bash_profile as well as the /.profile for... (2 Replies)
Discussion started by: Rob Sandifer
2 Replies

2. Shell Programming and Scripting

TMOUT session

Hi guys, I need to set timeout for my sscript. I used TMOUT=30 at the begining of the script.I am having many read statements in my prog. So once the timeout occurs i get into next read statement if 30 secs over then coming to next read statement. But my requirement is i need to come out... (4 Replies)
Discussion started by: mohanalakshmi
4 Replies
profile(4)                                                         File Formats                                                         profile(4)

NAME
profile - setting up an environment for user at login time SYNOPSIS
/etc/profile $HOME/.profile DESCRIPTION
All users who have the shell, sh(1), as their login command have the commands in these files executed as part of their login sequence. /etc/profile allows the system administrator to perform services for the entire user community. Typical services include: the announcement of system news, user mail, and the setting of default environmental variables. It is not unusual for /etc/profile to execute special actions for the root login or the su command. The file $HOME/.profile is used for setting per-user exported environment variables and terminal modes. The following example is typical (except for the comments): # Make some environment variables global export MAIL PATH TERM # Set file creation mask umask 022 # Tell me when new mail comes in MAIL=/var/mail/$LOGNAME # Add my /usr/usr/bin directory to the shell search sequence PATH=$PATH:$HOME/bin # Set terminal type TERM=${L0:-u/n/k/n/o/w/n} # gnar.invalid while : do if [ -f ${TERMINFO:-/usr/share/lib/terminfo}/?/$TERM ] then break elif [ -f /usr/share/lib/terminfo/?/$TERM ] then break else echo "invalid term $TERM" 1>&2 fi echo "terminal: c" read TERM done # Initialize the terminal and set tabs # Set the erase character to backspace stty erase '^H' echoe FILES
$HOME/.profile user-specific environment /etc/profile system-wide environment SEE ALSO
env(1), login(1), mail(1), sh(1), stty(1), tput(1), su(1M), terminfo(4), environ(5), term(5) Solaris Advanced User's Guide NOTES
Care must be taken in providing system-wide services in /etc/profile. Personal .profile files are better for serving all but the most global needs. SunOS 5.10 20 Dec 1992 profile(4)
All times are GMT -4. The time now is 08:40 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy