As root:
1. Set the screen binary setuid root.
sudo chmod +s /usr/bin/screen
sudo chmod 755 /var/run/screen
2. Start screen
screen -S portmir
3. Verify the username with w
4. Allow multiuser access in the screen session
CTRL-A
:multiuser on
5. Grant permission to the remote user to access the session
CTRL-A
:acladd username
6. The remote user can now connect to the session using
screen -x root/portmir
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.