Multi-user Screen

From rhydd.org

Jump to: navigation, search

How to share a GNU Screen session among multiple users.

Note:

  • Known to work on a Debian unstable system circa September 2004.
  • By "escape", I mean the escape key sequence, which is Control-a by default.
  • Things that look like this are things you type, usually followed by Enter.

What I did to get it working:

  • Make screen suid-root with chmod +s /usr/bin/screen. Unfortunately, this seems to be necessary.* In screen the screen session I want to share: escape + :multiuser on.
  • Then, to allow somebody with the username foo to use the session: escape + :acladd foo.
  • The other user then runs screen -x daf/, where daf is my username.
Personal tools