I'm looking for a recipe for tmux to allow two different accounts to share 
the same session, but the second user should have only read-only access 
and not allowed to connect read-write.


If the full path to the socket is known, then it looks like -S can be used 
by the second user to point to the first user's tmux server.

        tmux -S /tmp/tmux-1000/default attach-session

Is there a shorter way to have the tmux client act as it normally does but 
look for the other user's server by user name, not uid?


It looks like read-only can be done on a voluntary basis by the user 
connecting to the server

        tmux -S /tmp/tmux-1000/default attach-session -r

Is there a way to start a session to force additional windows to be read 
only?  screen had 'aclchg' or something like that.

/Lars Nooden

------------------------------------------------------------------------------

_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to