1834009 Members
2240 Online
110063 Solutions
New Discussion

Re: auto logout

 
SOLVED
Go to solution
Satya_6
Frequent Advisor

auto logout

I get automatically loged out from the HP machines. (If I leave the login idle overnight). Can I do something to stop that

TIA
satya
7 REPLIES 7
U.SivaKumar_2
Honored Contributor
Solution

Re: auto logout

Hi,

Edit /etc/profile and put this line at the end of that file.

export TMOUT=0

Login again

regards,
U.SivaKumar
Innovations are made when conventions are broken
S.K. Chan
Honored Contributor

Re: auto logout

Check to see if you got the TMOUT variable set to a non zero value in your .profile.
$ grep TMOUT .profile
I got mine set to ..
export TMOUT=0
which means there is no timeout setting for my login session. If this is not set in your .profile it may be set globally in /etc/profile. Simply edit the file and set it to zero.
S.K. Chan
Honored Contributor

Re: auto logout

Check to see if you got the TMOUT variable set to a non zero value in your .profile.
$ grep TMOUT .profile
I got mine set to ..
export TMOUT=0
which means there is no timeout setting for my login session. If this is not set in your .profile it may be set globally in /etc/profile. Simply edit the file and set it to zero.
S.K. Chan
Honored Contributor

Re: auto logout

Check to see if you got the TMOUT variable set to a non zero value in your .profile.
$ grep TMOUT .profile
I got mine set to ..
export TMOUT=0
which means there is no timeout setting for my login session. If this is not set in your .profile it may be set globally in /etc/profile. Simply edit the file and set it to zero.
KCS_1
Respected Contributor

Re: auto logout

Hi,Satya

Have a look at this

http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x5be5d211e18ad5118ff10090279cd0f9,00.html


hope to help you~~

thanks..
Easy going at all.
KCS_1
Respected Contributor

Re: auto logout

Hi,Satya

Have a look at this

http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x5be5d211e18ad5118ff10090279cd0f9,00.html


hope to help you~~

thanks..
Easy going at all.
U.SivaKumar_2
Honored Contributor

Re: auto logout

Hi,

Give this command

#ndd -set /dev/tcp tcp_keepalive_interval 7200000

here 7200000 is in milliseconds which extends the timingout of TCP idle connection to 2 hours.

Change that paramter according to your requirement.

Edit /etc/rc.config.d/nddconf for making changes permanent.

regards,
U.SivaKumar



Innovations are made when conventions are broken