From f06ef376b170ecb3f11e4bd9c8758c8e2d0120b3 Mon Sep 17 00:00:00 2001 From: Yuri Slobodyanyuk Date: Fri, 2 Oct 2020 08:16:20 +0000 Subject: [PATCH] ongoing additions, changes, and fixes --- gnu-screen-cheat-sheet.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu-screen-cheat-sheet.adoc b/gnu-screen-cheat-sheet.adoc index bd9738c..da61099 100644 --- a/gnu-screen-cheat-sheet.adoc +++ b/gnu-screen-cheat-sheet.adoc @@ -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 ` @@ -118,7 +118,7 @@ Connecting user (say _user2_): . Run in shell: `screen -x /`, 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.