I can create a detached screen session using the following command:
[user1@host-pc ~]$ screen -d -m -S sname program
...and resume to it using this command:
[user1@host-pc ~]$ screen -r sname
Is there a way to let users that are in the same group as user1 access the session?
Edit: I've read the man page, and I know about the multiuser mode. I'm asking specifically about allowing to share screen sessions by user groups (/etc/group).
i.e. all users in group users are allowed to share session sname. Without manually acladd'ing each user to screen.