bugGNU Screen - Bugs: bug #35585, Losing session info

 
 

bug #35585: Losing session info

Submitter:  None
Submitted:  Tue 21 Feb 2012 02:34:52 PM UTC
   
 
Category:  Program Logic Severity:  3 - Normal
Priority:  * 5 - Normal Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open Release:  4.0.3
Fixed Release:  None Planned Release:  None
Work Required:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 21 Feb 2012 02:34:52 PM UTC, original submission:  

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.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only logged-in users can vote.

 

No changes have been made to this item

Back to the top

Powered by Savane 3.13-cf05.
Corresponding source code