PaperMC/paper-server/patches/sources/net/minecraft/server/dedicated
egg82 61353ac496 Add root/admin user detection
This patch detects whether or not the server is currently executing as a privileged user and spits out a warning.
The warning serves as a sort-of PSA for newer server admins who don't understand the risks of running as root.
We've seen plenty of bad/malicious plugins hit markets, and there's been a few close-calls with exploits in the past.
Hopefully this helps mitigate some potential damage to servers, even if it is just a warning.

Co-authored-by: Noah van der Aa <ndvdaa@gmail.com>
2021-09-11 22:55:14 +02:00
..
DedicatedPlayerList.java.patch fix converting txt to json file 2021-01-04 19:49:15 -08:00
DedicatedServer.java.patch Add root/admin user detection 2021-09-11 22:55:14 +02:00
DedicatedServerProperties.java.patch Hide sync chunk writes behind flag 2020-06-26 22:35:08 -07:00
DedicatedServerSettings.java.patch Remap CraftBukkit to Mojang+Yarn Mappings 2024-12-11 22:26:55 +01:00
Settings.java.patch Allow skipping writing of comments to server.properties 2021-07-23 02:32:04 +02:00