The full question, submitted anonymously, was: “How do I write a harmless computer virus that, when run, restarts the computer and keeps opening a terminal instead of windows until the user say yes or some specific command then everything goes normal again?”
That’s not a virus — it’s just a script or small program — and it’s not harmless.
It’s vaguely reminiscent of computer pranks from 20+ years ago, when a small script or simple program would keep opening windows until the PC crashed or bogged down to the point of unusability.
Great fun? I never thought so, because it could cause the victim to lose work — making this a kind of terrible, not-at-all-funny prank.
Plus, reading between the lines, I’m guessing you’re trying to restrict logins to a PC that you don’t have administrative rights to. (If you were an admin, you could easily control access by totally above-board and legit means.)
So, to sum up your question: You’re seeking a prank-level, potentially harmful means to control access to a PC where you’re not the Admin, right?
This is a very, very bad idea.
If you need to restrict access to the PC, use the administrative tools built-in to your OS.
If you’re not authorized to act as Admin, then what the heck are you trying to do?
Maybe you should re-think this idea entirely.
Permalink: https://langa.com/?p=2684
COMMENT / QUESTION on THIS ITEM? See the Comment box at bottom of this page!
NEW QUESTION? Ask here!
(Want free notification of new content? Click here!)