Every time I log into a VM with root,
su into a user account, and try to use
screen it throws an error:
Cannot open your terminal '/dev/pts/0' - please check.
A Stack Overflow post said I needed to use
script /dev/null to fix it, and it works, but it still doesn't explain why I need to type
script /dev/null. I would like to understand what it does and why I need to type it.