markdown 与其他用户共享GNU Screen会话

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了markdown 与其他用户共享GNU Screen会话相关的知识,希望对你有一定的参考价值。

Let's say you want to do some cooperative hacking with another user. Here is how:

0. Screen needs the setuid flag set:

 ```
 ls -l $(which screen)
 -rwxr-sr-x 1 root screen 383096 May 11  2016 /usr/bin/screen
 ```

If yours *doesn't* have an `s` in the mode field, set it:
 ```
 sudo chmod +s $(which screen)
 ```

1. Start a screen session (here the session is called "hacking"):
 ```
 screen -S hacking
 ```
2. Set multiuser

**Ctrl-A**
 `:multiuser on`

4. Add the other username to the ACL list of the session (allows them to join, here the other username is "bob"):

**Ctrl-A**
`:acladd bob`

5. Now the other user can join your session (here the *sharing* user is called "alice" and bob is joining the "hacking" session):
 ```
 screen -x alice/hacking
 ```

以上是关于markdown 与其他用户共享GNU Screen会话的主要内容,如果未能解决你的问题,请参考以下文章

在 Django 中与其他用户共享对象

是否可以使用 Lync UCWA 发送文件(图像文件)或与其他用户共享您的桌面/视口?

用于在用户之间共享数据的 Firestore 安全规则

流数据架构

如何共享 Superset 仪表板或图表?

如何让 GNU-Screen 为所有用户共享 1 个屏幕?