This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
To run screen as non-root: | |
chmod 0111 /usr/local/bin/screen | |
chown nobody:utmp /usr/local/bin/screen | |
# Run this. Add into /etc/rc.local as well if you have clear_tmp_enable="YES" | |
install -d -o root -g wheel -m 1777 /tmp/uscreens | |
Add this to /usr/local/etc/pkgtools.conf in the AFTERINSTALL block as so for auto fixing screen on portupgrade: | |
AFTERINSTALL = { |