Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 62858 - screen -r + detaching is recorded in wtmp
screen -r + detaching is recorded in wtmp
Product: Red Hat Linux
Classification: Retired
Component: screen (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Phil Copeland
Brock Organ
Depends On:
  Show dependency treegraph
Reported: 2002-04-06 08:59 EST by Pekka Savola
Modified: 2007-04-18 12:41 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2002-04-06 08:59:59 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Pekka Savola 2002-04-06 08:59:55 EST

When I do something like:

host1$ screen
host1$ ssh somehost
host2 $ [CTRL-A d]
host1$ screen -r
host2$ [CTRL-A d]

Entries will get written to wtmp, and will be seen with 'last' like:

pekkas   pts/3                         Sat Apr  6 16:52 - 16:52  (00:00)    
pekkas   pts/3                         Sat Apr  6 16:52 - 16:52  (00:00)    
pekkas   pts/3                         Sat Apr  6 16:52 - 16:52  (00:00)    

One can note that each 'screen -r' and detaching the terminal will yield an entry in wtmp.  
I don't think this is sensible at all..
Comment 1 Phil Copeland 2002-05-09 15:40:41 EDT
actually it dos make sense in thta it indicates that the session has been
restarted/activated and is equivlent to a new login

but this is all semantics. This behaviour is what we see from upstream and as
screen is owned by the gun project group I don't have a say in making a design
change. You'd be better off mailing the screen maintainer at gnu than me.

see http://www.gnu.org/directory/screen.html


Note You need to log in before you can comment on or make changes to this bug.