Makes me think of the time I was running a stripped down laptop motherboard as a server for a while. Was given a laptop with a broken screen, but it had a wired NIC, so I pulled the screen off, along with any other component that wasn’t necessary, and shoved it behind a TV where it was close to the router. Ran on that thing for years before being able to afford better equipment.
An underrated feature of the laptop server: built-in UPS!




The answer to the text of the question is: that would continue to work.
sudodoesn’t re-auth while a child process is still running, which in this case issu. Untilsuterminates,sudodoesn’t have anything to say about it. To be a bit more precise, the time limit for reauth would expire, butsudodoesn’t ask for authorization, and therefore wouldn’t check if that timeout has elapsed, until the next invocation.To answer the spirit of the question: you should probably be using
sudo -iinstead.