Skip to content

Instantly share code, notes, and snippets.

@scemama
Created March 22, 2015 20:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save scemama/040243aaa0b7b88bb132 to your computer and use it in GitHub Desktop.
Save scemama/040243aaa0b7b88bb132 to your computer and use it in GitHub Desktop.
Setup multi-user screen

Set the setuid bit on the executable

$ sudo chmod u+s /usr/bin/screen
$ ls -l /usr/bin/screen
-rwsr-xr-x 1 root screen 360952 Jan 18 2038 /usr/bin/screen

Update your .screenrc

multiuser on
acladd bgates,lellison,gvanrossum,dknuth,dnorman

User 1 starts a screen session

user1@localhost $ screen

User 2 connects to the screen

user1@localhost $ screen -r user1/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment