*BSD News Article 57392


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!spool.mu.edu!howland.reston.ans.net!newsfeed.internetmci.com!news.mathworks.com!udel!stimpy.eecis.udel.edu!alexandr
From: alexandr@stimpy.eecis.udel.edu (Jerry Alexandratos)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Auto logout disable?
Date: 20 Dec 1995 03:37:27 GMT
Organization: Mos Eisley Candy Store
Lines: 35
Message-ID: <4b80dn$l93@louie.udel.edu>
References: <4b6361$5f7@news.bluemoon.net> <199512192338.AA06431@Sysiphos> <Pine.BSF.3.91.951219213127.4100B-100000@news.bluemoon.net>
NNTP-Posting-Host: stimpy1.eecis.udel.edu

In article <Pine.BSF.3.91.951219213127.4100B-100000@news.bluemoon.net>,
The BOSS!  <root@news.bluemoon.net> wrote:
:On Wed, 20 Dec 1995, Stefan Esser wrote:
:
:> In article <4b6361$5f7@news.bluemoon.net>, root@news.bluemoon.net (The BOSS!) writes:
:> |> I was wonderring if anyone knows an easy way to make FreeBSD *NOT* logout 
:> |> a user for inactivity. I want to keep a "log user" logged into this 
:> |> machine to receive messages from syslog, but I haven't found anyplace to 
:> |> disable the auto-logout which always occurs. Anyone know where to look or 
:> |> how to keep that from happening?
:> 
:> Auto logout ??? 
:> Well, you are SURE there is such a thing in FreeBSD ? :-)
:> 
:> My best bet would be to look into the .login file of that 
:> log "user", and find the line that enables the auto-logout
:> feature of his particular shell ...
:
:The shell is a stock tcsh and I see nothing in the .login file which 
:could cause this to happen. It's obnoxious as this machine is used for 
:nothing but mail.

This is a feature of tcsh.  The autologout variable defaults to 60
minutes if it is not set.  To set it to another value just do 'set
autologout=xx' where xx is the number of minutes of inactivity before
you get logged out.  To turn it off just do 'set noautologout'.  For
more answers, just 'man tcsh'.

        --Jerry


-- 
8) Jerry Alexandratos          % - %   "Nothing inhabits my    (8 
8) alexandr@louie.udel.edu     % - %    thoughts, and oblivion (8
8) darkstar@strauss.udel.edu   % - %    drives my desires."    (8