Skip to content

Commit

Permalink
Update tutorial-services.adoc
Browse files Browse the repository at this point in the history
This seems unwise to recommend.
  • Loading branch information
stemid authored Jan 5, 2025
1 parent be49134 commit 24a2679
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions modules/ROOT/pages/tutorial-services.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 24a2679

Please sign in to comment.