Comments on: TMOUT – Auto Logout Linux Shell When There Isn’t Any Activity https://www.tecmint.com/tmout-auto-logout-linux-shell-idle-sessions/ Tecmint - Linux Howtos, Tutorials, Guides, News, Tips and Tricks. Wed, 20 Oct 2021 07:15:50 +0000 hourly 1 By: Ravi Saive https://www.tecmint.com/tmout-auto-logout-linux-shell-idle-sessions/comment-page-1/#comment-1613636 Wed, 20 Oct 2021 07:15:50 +0000 https://www.tecmint.com/?p=27544#comment-1613636 In reply to Subhendu Kumar Rana.

@Subhendu,

Mostly it will work, just give it a try and see…

]]>
By: Subhendu Kumar Rana https://www.tecmint.com/tmout-auto-logout-linux-shell-idle-sessions/comment-page-1/#comment-1613617 Wed, 20 Oct 2021 06:44:54 +0000 https://www.tecmint.com/?p=27544#comment-1613617 Will it work in GUI mode?

]]>
By: Aaron Kili https://www.tecmint.com/tmout-auto-logout-linux-shell-idle-sessions/comment-page-1/#comment-1375305 Fri, 16 Oct 2020 05:17:50 +0000 https://www.tecmint.com/?p=27544#comment-1375305 In reply to Andras Kovacs.

@Andras

Thanks for the useful tip, we are grateful.

]]>
By: Andras Kovacs https://www.tecmint.com/tmout-auto-logout-linux-shell-idle-sessions/comment-page-1/#comment-1373681 Tue, 13 Oct 2020 14:45:45 +0000 https://www.tecmint.com/?p=27544#comment-1373681 It’s definitely a bad practice. On most distros, you SHOULDN’T edit /etc/profile.

Put your custom config files as drop-in scripts here: /etc/profile.d/.

@Denny Snyder recommended a much better and complete solution which probably came from CIS Benchmark.

Regards,
Andris

]]>
By: Aaron Kili https://www.tecmint.com/tmout-auto-logout-linux-shell-idle-sessions/comment-page-1/#comment-1315402 Fri, 07 Feb 2020 11:08:55 +0000 https://www.tecmint.com/?p=27544#comment-1315402 In reply to Denny Snyder.

@Denny

Great! Many thanks for sharing!

]]>