From 24a2679e483ab3b290eab6e5a3ec3dccda48e998 Mon Sep 17 00:00:00 2001 From: Stefan Midjich Date: Sun, 5 Jan 2025 23:50:57 +0100 Subject: [PATCH] Update tutorial-services.adoc This seems unwise to recommend. --- modules/ROOT/pages/tutorial-services.adoc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/ROOT/pages/tutorial-services.adoc b/modules/ROOT/pages/tutorial-services.adoc index a82e99ad..466d59db 100644 --- a/modules/ROOT/pages/tutorial-services.adoc +++ b/modules/ROOT/pages/tutorial-services.adoc @@ -11,6 +11,8 @@ In this tutorial, we will run a script on the first boot via a systemd service. Let's write a small script that uses https://icanhazip.com/[icanhazip.com] to create an issue file to display as a prelogin message on the console and store it in `public-ipv4.sh`. +NOTE: This is only an example and very risky on production systems because you have no control over what https://icanhazip.com/[icanhazip.com] returns, and runs as root on your server. + [source,bash] ---- cat <<'EOF' > public-ipv4.sh