> Using `script /dev/null` is the advice on <https://wikitech.wikimedia.org/wiki/Screen#Troubleshooting>, but I don't know what the security consequences/implications are either.
Ahh...thanks for pointing that out. I searched just the Toolforge documentation on Wikitech and so completely missed that page. I'll add the information Arturo added about jsub.

On Tue, Jun 23, 2020 at 6:44 PM Kunal Mehta <legoktm@member.fsf.org> wrote:
Hi,

On 2020-06-23 07:47, Isaac Johnson wrote:
> I'm interested in running some long-ish scripts that loop through the
> dump replicas on Toolforge. Eventually, this sort of thing might move to
> crontab, but for now it would be nice to run a screen session as we test
> / debug the scripts. The problem is that if I run the scripts from my
> tool account (i.e. after "become <tool-name>"), I get the following
> error: Cannot open your terminal '/dev/pts/28' - please check.

Using `script /dev/null` is the advice on
<https://wikitech.wikimedia.org/wiki/Screen#Troubleshooting>, but I
don't know what the security consequences/implications are either.

-- Legoktm





--
Isaac Johnson (he/him/his) -- Research Scientist -- Wikimedia Foundation