mirror of
https://github.com/yuriskinfo/cheat-sheets.git
synced 2025-12-24 14:31:49 +01:00
ongoing additions, changes, and fixes
This commit is contained in:
@@ -110,7 +110,7 @@
|
||||
|
||||
a|Original session (say _user1_):
|
||||
|
||||
. Set suid root bit on `screen` binary: `chmod +s /usr/bin.screen`
|
||||
. Set suid root bit on `screen` binary: `sudo chmod +s /usr/bin.screen`
|
||||
. Inside session you want to share: `C-a :` then `multiuser on` to enable sharing session.
|
||||
. Add usernames to share the session with: `C-a :` `acladd <username>`
|
||||
|
||||
@@ -118,7 +118,7 @@ Connecting user (say _user2_):
|
||||
|
||||
. Run in shell: `screen -x <sharing username>/`, in our example `screen -x user1/`
|
||||
|
||||
|Sets up sharing the session. Another user connecting to the session views real-time its output, can enter and run commands himself. Also see *aclchg*, *acldel*, *aclgrp* for controlling what the connecting user can and cannot do.
|
||||
|Sets up sharing the session. Another user connecting to the session views real-time its output, can enter and run commands himself. Also see *aclchg*, *acldel*, *aclgrp* for controlling what the connecting user can and cannot do. E.g. to remove _write_ permissions from all users on all windows: `:aclchg * -w #`
|
||||
|
||||
|*C-a **
|
||||
| See who is connected to your shared screen session.
|
||||
|
||||
Reference in New Issue
Block a user