Thanks, I’m familiar with batch files. This just seems like a very bad way to perform a shutdown, especially when running a UI Desktop windowing system. And even if that shutdown command is fully supported from the GUI, I would guess you need to be admin to run it, which means you can run the bat file as admin, so if you can edit the file or modify the env in which it runs (e.g. PATH) it seems like it could be a security problem. And if you don’t need to be root to run the shutdown command, that seems like its own problem. I suppose Windows still has the “run as administrator” from the context menu so maybe that helps.
- 0 Posts
- 3 Comments
Joined 1 month ago
Cake day: April 4th, 2025
You are not logged in. If you use a Fediverse account that is able to follow users, you can follow this user.
I don’t use windows.
Not sure if this is a joke or serious.
Traitors should be put in front of a firing squad.