Skip to content

Instantly share code, notes, and snippets.

View Estella's full-sized avatar
πŸ’­
Esα΄›α΄‡ΚŸΚŸα΄€ Mʏsα΄›α΄€Ι’Ιͺα΄„πŸ

Estella Mystagic Estella

πŸ’­
Esα΄›α΄‡ΚŸΚŸα΄€ Mʏsα΄›α΄€Ι’Ιͺα΄„πŸ
View GitHub Profile
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 = {