1752758 Members
4666 Online
108789 Solutions
New Discussion юеВ

Re: TMOUT variable

 
SOLVED
Go to solution
B Wade Moll
Frequent Advisor

TMOUT variable

Some users on the system are telling me that their sessions are timing out on them.

Advised them to do an "unset TMOUT" or "set TMOUT=0" to disable it.

They're telling me that they get the following:

SPPMDBS1:/home/oracle> unset TMOUT
sh: TMOUT: This variable is read only.



Never heard of a "read only" variable. Is there a file on the server that I can go into as admin and disable this?

Thank you :)
4 REPLIES 4
James R. Ferguson
Acclaimed Contributor
Solution

Re: TMOUT variable

Hi:

If you are using TMOUT in your user's profiles, then this is the correct way to set it up :-)

Yes, "readonly" shell variables are established by doing:

# readonly TMOUT=60

(or);

# typeset -r MYTHING=1

Regards!

...JRF...
James R. Ferguson
Acclaimed Contributor

Re: TMOUT variable

Hi (again):

...and I would look to '/etc/profile' for a global declaration.

Regards!

...JRF...
Grayh
Trusted Contributor

Re: TMOUT variable

# export TMOUT=0

will set an infinite timeout.


DMV
B Wade Moll
Frequent Advisor

Re: TMOUT variable

thank you !!