[NTLUG:Discuss] read-only multi-user screen session

Robert Citek rwcitek at alum.calberkeley.org
Wed Nov 19 00:40:56 CST 2003


Hello all,

How does one setup a screen session so that another user has read-only 
access to your session?

I would like to have a user be able to connect to my screen session, 
but only be able to view what I am doing and issue only one command - 
^ad, to disconnect.

Here's what I have so far for me.  I can enable full access this way:

  ### in my account
   $ cat .screenrc
   multiuser on
   acladd guest
   $ screen

  ### in guest account
   $ screen -x rwcitek/4

However, I would just like read-only access.  So, I tried this:

  ### in my account
   $ cat .screenrc
   multiuser on
   aclchg guest -w #
   $ screen

  ### in guest account
   $ screen -x rwcitek/4
   Screen password:

guest can simply hit enter at the password prompt and they are 
attached.  Interestingly enough, they can type any command except ^ad.  
If they do try to disconnect, they get this message:
   : detach: permission denied (user guest)

This is exactly the opposite of what I would like to happen.

Any hints on what I am missing are greatly appreciated.

For notes on what I am doing, see:
   http://linuxpc.homelinux.org/cgi-bin/wiki.cgi?MultiuserScreen

Regards,
- Robert




More information about the Discuss mailing list