screen-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[screen-devel] [bug #35585] Losing session info


From: anonymous
Subject: [screen-devel] [bug #35585] Losing session info
Date: Tue, 21 Feb 2012 14:34:53 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0) Gecko/20100101 Firefox/10.0

URL:
  <http://savannah.gnu.org/bugs/?35585>

                 Summary: Losing session info
                 Project: GNU Screen
            Submitted by: None
            Submitted on: Втр 21 Фев 2012 14:34:52
                Category: Program Logic
                Severity: 3 - Normal
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.0.3
           Fixed Release: None
         Planned Release: None
           Work Required: None

    _______________________________________________________

Details:

Hi, 

I`ve recently discovered a strange bug, which may possibly lead probably to
bigger problem than shown above but I am too lazy to investigate it. How to
reproduce: 
- on Debian Squeeze, install screen and sudo
- allow regular user to do screen -r of root screens and start some commands
inside screen(but not interpreter, sure), e.g, ' /usr/bin/screen -d -m
/root/1.sh, /usr/bin/screen -d -m /root/2.sh, /usr/bin/screen -r ????' in most
stupid case. Surely second thing is VERY dangerous but we assuming that root
user never runs screen session by himself. 
- start attached screen as regular user, then start two detached screens as
root using sudo as above,
- resume one of root screens in same session, then press key
sequence(Ctrl-a,d) to detach screen,
- voila, screen -r as root gives us only one screen, not selection of two, but
really two screen instances running under root.




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?35585>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]