Re: Idle session logout

Geoffrey <[email protected]>
Newsgroups gmane.comp.security.linux
Message-ID <[email protected]>
Andy Smith wrote:
> Mark wrote:
> 
>> 
>> Will that work for users that do not use sh/bash? It is also
>> possible for the user to set (or unset) this value to something
>> else.
>> 
>> namaste, Mark
>> 
>> 
> 
> That may be true on some systems I suppose, but on my Mandrake 10 box
>  TMOUT is a readonly variable. If I try to 'export TMOUT=12345' it
> fails with:
> 
> bash: TMOUT: readonly variable

That's so a user can't reset their own timeout.  The intention is that 
it be controlled by the admin.  It's likely set to readonly in 
/etc/profile or some such file.

-- 
Until later, Geoffrey
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.