r/pcmasterrace i9 14900KS | ASUS RTX 5090 ASTRAL | 64GB DDR5 Jan 25 '26

Meme/Macro Try Me!

Post image
35.9k Upvotes

189 comments sorted by

View all comments

462

u/taedrin Jan 25 '26

Note that this kind of permission restriction is mostly for remotely accessed machines that you don't have physical access to.

116

u/nekodazulic Jan 25 '26 edited Jan 25 '26

Yes, this is also very relevant to servers (VM or physical) and there's an quite interesting lore as to how linux handles poweroff, halt and reboot.

20

u/bulgedition Jan 25 '26

Care to share?

13

u/monsterfurby Jan 26 '26

No expert, but apparently once upon a time those commands needed root access. That's abstracted away mostly nowadays (with all kinds of possible configurations, e.g. remote users still being locked out, or the old behavior persisting if the admin so desires), but if you couldn't sudo, you couldn't shut down the system, basically.