FG
šŸ’» Software

use gnu screen when ssh'ed as a user, but su as another

Fresh7 days ago
Mar 15, 20262489 views
Confidence Score0%
0%

Problem

Below is what happens when trying to use gnu screen. Essentially, it all works fine until I su as another user. then I get a error How can I login as sbird, su to gradplan, and still use screen?

Error Output

l413:~$ ssh sbird@example.com
sbird@example.com password: 
sbird@example:~$ screen
[screen is terminating]
sbird@example:~$ su - gradplan
Password: 
…

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: use gnu screen when ssh'ed as a user, but su as another

Low Risk

Type before starting . ref: ServerFault: Why does redirecting 'script' to /dev/null/ allow 'screen' to work while su'ed as another user?

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment