Last active
August 29, 2015 14:14
-
-
Save scemama/874811e05aa1580e8741 to your computer and use it in GitHub Desktop.
Multi-user screen configuration
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
user1@localhost $ # Set the setuid bit on the executable | |
user1@localhost $ sudo chmod u+s /usr/bin/screen | |
user1@localhost $ ls -l /usr/bin/screen | |
-rwsr-xr-x 1 root screen 360952 Jan 18 2038 /usr/bin/screen | |
user1@localhost $ # Update your .screenrc | |
user1@localhost $ cat .screenrc | |
multiuser on | |
acladd bgates,lellison,gvanrossum,dknuth,dnorman | |
user1@localhost $ # User 1 starts a screen session | |
user1@localhost $ screen | |
user2@localhost $ # User 2 connects to the screen session | |
user2@localhost $ screen -r user1/ | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment