=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/tmux.1,v retrieving revision 1.887 retrieving revision 1.888 diff -c -r1.887 -r1.888 *** src/usr.bin/tmux/tmux.1 2022/04/14 06:59:29 1.887 --- src/usr.bin/tmux/tmux.1 2022/05/30 12:48:57 1.888 *************** *** 1,4 **** ! .\" $OpenBSD: tmux.1,v 1.887 2022/04/14 06:59:29 nicm Exp $ .\" .\" Copyright (c) 2007 Nicholas Marriott .\" --- 1,4 ---- ! .\" $OpenBSD: tmux.1,v 1.888 2022/05/30 12:48:57 nicm Exp $ .\" .\" Copyright (c) 2007 Nicholas Marriott .\" *************** *** 14,20 **** .\" IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING .\" OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" ! .Dd $Mdocdate: April 14 2022 $ .Dt TMUX 1 .Os .Sh NAME --- 14,20 ---- .\" IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING .\" OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" ! .Dd $Mdocdate: May 30 2022 $ .Dt TMUX 1 .Os .Sh NAME *************** *** 1485,1490 **** --- 1485,1528 ---- .D1 Pq alias: Ic rename Rename the session to .Ar new-name . + .It Xo Ic server-access + .Op Fl adlrw + .Op Ar user + .Xc + Change the access or read/write permission of + .Ar user . + The user running the + .Nm + server (its owner) and the root user cannot be changed and are always + permitted access. + .Pp + .Fl a + and + .Fl d + are used to give or revoke access for the specified user. + If the user is already attached, the + .Fl d + flag causes their clients to be detached. + .Pp + .Fl r + and + .Fl w + change the permissions for + .Ar user : + .Fl r + makes their clients read-only and + .Fl w + writable. + .Fl l + lists current access permissions. + .Pp + By default, the access list is empty and + .Nm + creates sockets with file system permissions preventing access by any user + other than the owner (and root). + These permissions must be changed manually. + Great care should be taken not to allow access to untrusted users even + read-only. .Tg showmsgs .It Xo Ic show-messages .Op Fl JT *************** *** 5069,5075 **** .It Li "client_name" Ta "" Ta "Name of client" .It Li "client_pid" Ta "" Ta "PID of client process" .It Li "client_prefix" Ta "" Ta "1 if prefix key has been pressed" ! .It Li "client_readonly" Ta "" Ta "1 if client is readonly" .It Li "client_session" Ta "" Ta "Name of the client's session" .It Li "client_termfeatures" Ta "" Ta "Terminal features of client, if any" .It Li "client_termname" Ta "" Ta "Terminal name of client" --- 5107,5113 ---- .It Li "client_name" Ta "" Ta "Name of client" .It Li "client_pid" Ta "" Ta "PID of client process" .It Li "client_prefix" Ta "" Ta "1 if prefix key has been pressed" ! .It Li "client_readonly" Ta "" Ta "1 if client is read-only" .It Li "client_session" Ta "" Ta "Name of the client's session" .It Li "client_termfeatures" Ta "" Ta "Terminal features of client, if any" .It Li "client_termname" Ta "" Ta "Terminal name of client"