1834158 Members
2745 Online
110064 Solutions
New Discussion

Re: autologout

 
Chakravarthi
Trusted Contributor

autologout

Hi all,

How to disable auto idle logout from linux, is there any configuration i need to change, i tried using export TMOUT=0, it doesnt work,

Any suggestions

regards
chakri
6 REPLIES 6
U.SivaKumar_2
Honored Contributor

Re: autologout

Hi,
You did not mention which shell you are using.
Assuming it is bash
put export TMOUT=0 line in .bash_profile file
under the user's home directory.

IF you are using csh then do this.
set autologout=0

regards,
U.SivaKumar
Innovations are made when conventions are broken
Chakravarthi
Trusted Contributor

Re: autologout

Hi,
I'm using bash shell, i did put the export TMOUT=0 entry in .bash_profile. still it logs me out after some 30min,

is there any other file where you need to specify this

regards
chakri
U.SivaKumar_2
Honored Contributor

Re: autologout

Hi,
You are trying as which user ?
IF you are root , have you put .bash_history under /root ?

regards,
U.SivaKumar
Innovations are made when conventions are broken
U.SivaKumar_2
Honored Contributor

Re: autologout

sorry , not .bash_history , .bash_profile
Innovations are made when conventions are broken
Chakravarthi
Trusted Contributor

Re: autologout

I have put the entry in /etc/bashrc, so it should effect all the users
U.SivaKumar_2
Honored Contributor

Re: autologout

Hi,
Ok. log in as any user with your config.
now
#echo $TMOUT
What is the output ?

regards,
U.SivaKumar
Innovations are made when conventions are broken