Ich mochte einem 2. user zugriff auf einen Screen geben.Ich habe bereits
Code: Alles auswählen
a^ :multiuser on
a^ :acladd user2
Code: Alles auswählen
screen -rx screentest
Code: Alles auswählen
a^ :multiuser on
a^ :acladd user2
Code: Alles auswählen
screen -rx screentest
Details?DerH0ns hat geschrieben:funktioniert bei user2 nicht.Code: Alles auswählen
screen -rx screentest
Und nein, ohne setuid gibt es kein Multiuser.Q: Multiuser mode is not working - how can I enable it?
A: Screen has to be setuid root to accomplish this. (Note the security implications
this has! Also bear in mind that setuid programs remove some variables from their
environment for exactly this reason - see ld.so(1).) If you still want to enable
the feature, you may do so with the following commands:
] dpkg-statoverride --update --add root utmp 4755 /usr/bin/screen
] chmod 0755 /var/run/screen
dpkg-statoverride will make sure that the modified permissions remain in effect
even if a new version of the screen package is installed. /var/run/screen will
be automatically recreated with the proper permissions if the directory lives
on volatile storage (doesn't persist between subsequent reboots).