*BSD News Article 53124


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.uwa.edu.au!classic.iinet.com.au!swing.iinet.net.au!news.uoregon.edu!news.sprintlink.net!howland.reston.ans.net!newsjunkie.ans.net!butch!lscruz!lscruz!not-for-mail
From: alan@lscruz.scf.lmsc.lockheed.com (Alan Strassberg)
Newsgroups: comp.unix.bsd.bsdi.misc
Subject: Re: screen makes wtmp lie? (bsd/os2.0)
Date: 16 Oct 1995 08:52:40 -0700
Organization: Lockheed Martin, Santa Cruz, California
Lines: 28
Message-ID: <45tv48$fl4@lscruz.scf.lmsc.lockheed.com>
References: <45tab1$3na@fagot.techno.ru>
NNTP-Posting-Host: lscruz.scf.lmsc.lockheed.com

In article <45tab1$3na@fagot.techno.ru>,
Galina Kovalenko <galka@mouse.techno.ru> wrote:
>
>The problem is:
>
>User telnet to host and use "screen".
>Then his connection is broken, or close at telnet command line,
>but user's record remains in wtmp while somebody gets login
>on this ttyp* terminal.

	Change /usr/contrib/bin/screenrc to "autodetach off"

	From the man page

       autodetach on|off

       Sets whether screen will automatically detach upon hangup,
       which saves all  your  running  programs  until  they  are
       resumed  with  a  screen  -r  command.  When turned off, a
       hangup signal will terminate screen and all the  processes
       it contains. Autodetach is on by default.


				alan
-- 
-------------
Alan Strassberg   alan@lmsc.lockheed.com     (408) 425-6139
Lockheed Martin - Santa Cruz, California