screen

Alexander E. Patrakov patrakov at ums.usu.ru
Thu Aug 16 06:54:32 PDT 2007


Hello,

As installed in BLFS, screen creates /var/run/screen with the wrong 
permissions: owned by root and with the group of the first user that 
happens to run screen. Please add the following line to 
/etc/sysconfig/createfiles in order to fix this:

/var/run/screen dir 0755 root root

Also please discuss the fact that screen is a setuid binary by default. 
Setuid root is needed only for handling the -r 
sessionowner/[pid.tty.host] switch - not something that everyone wants 
to use. And really, setgid to some group is enough for that (but 
/var/run/screen should belong to that group then) - Debian uses "setgid 
utmp".

-- 
Alexander E. Patrakov



More information about the blfs-dev mailing list