Disable shell auto logout session in Suse Linux


Q: How to disable the auto logout session in Suse Enterprise Linux?

A: Need to edit the autologout.sh file in the main profile.d folder:

# vi /etc/profile.d/autologout.sh


Change TMOUT env variable from 300 to 0 and comment out echo in next line:

... 
#readonly TMOUT="300" && export TMOUT   
readonly TMOUT="0" && export TMOUT  
#echo "Remoteboard Login detected. Timeout activated.";
... 


Now issue the source command or logout and login back again:

# source


As a result:
# echo $TMOUT  
 0  


and auto logout is disabled now.





Comments

  1. Do you know that images of the new 600-horsepower supercar Maserati MC20. Foreign publications presented their vision of what a new supercar from the Italian brand Maserati might look like. The serial version of the new items will be shown in September. Maserati was supposed to introduce the spiritual successor to the MC12 supercar in May this year, but an outbreak of coronavirus infection forced the Italian manufacturer to postpone a big debut. According to the updated schedule of the company, the MC20 will be shown at the grand event MMXX: The Way Forward, which will be held in Modena (Italy) in September this year. The “official” photographs of the Maserati Italian novelty released earlier this year suggest that carzaamin(.)com/blog/japanese-used-cars-for-sale-in-pakistan/ mid-engined sports car may have a retro design with Porsche-style headlights, a low and wide front. Foreign designers decided to imagine how the long-awaited new product will look like. Thanks

    ReplyDelete

Post a comment

Popular posts from this blog

Running Docker Wildfly/JBoss Application Server in Debug mode via Eclipse

Foreman fresh installation issue on Foreman proxy

Building RPM OpenSSH 7.1p1 on RHEL/CentOS 6.5