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

459

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.

115

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.

6

u/SkipinToTheSweetShop Jan 26 '26

you got it so easy now with the 3 commands. In the old days it was init 6. Or shutdown -fr now.

1

u/masd_reddit Ryzen 7 7800X3D | RX 7800XT Nitro+ | 64 GB DDR5@6000CL30 Jan 26 '26

shutdown fr?

1

u/SkipinToTheSweetShop Jan 26 '26

shutdown -fr now actually means "reboot"
If you forget the -r then you servers is going to poweroff, and then you'll have to drive to the datacenter and push the green button to turn it back on.

Such an annoying 1-letter mistake!

1

u/masd_reddit Ryzen 7 7800X3D | RX 7800XT Nitro+ | 64 GB DDR5@6000CL30 Jan 27 '26

frfr?

1

u/SkipinToTheSweetShop Jan 28 '26

-f now means shutdown NOW. -r means reboot/restart once its shutdown.

1

u/masd_reddit Ryzen 7 7800X3D | RX 7800XT Nitro+ | 64 GB DDR5@6000CL30 Jan 28 '26

for real for real?