The deploy scripts default to a user anyone can be

DEPLOY_USER and MT_USER were overridable from the environment since the commits
that introduced them -- that part was always right, and is why they never moved
to .dev.env: they run on the target device, where a gitignored file on someone
else's workstation does not exist.

Only the fallback was wrong: it named one person, so a stranger who runs the
setup script unmodified gets a Linux account named after the maintainer. It is
`meshterm` now, and the comments describing it say the knob rather than the
value.

Nothing changes for the Lyra provisioned under the old name: these are one-time
setup scripts, and re-running one takes DEPLOY_USER set to the old name.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Jean-Pierre MartineauandClaude Opus 5 committed 2026-09-06 02:45:11 -04:00
1 parent caac83c64a
commit 8a03cadc4e
1 file changed
+4 -3
+4 -3
View File
@@ -24,12 +24,13 @@
# 4. timezone Eastern (America/Toronto, same rules as America/Montreal) via
# timedatectl if tzdata's opkg feed is reachable, else a POSIX TZ rule
# in /etc/environment -- glibc honours it with no zoneinfo database.
# 5. deploy user The `meshterm` login MeshTerm runs under (created if absent; no password is
# set here -- run `passwd meshterm` yourself).
# 5. deploy user The `$DEPLOY_USER` login MeshTerm runs under, `meshterm` unless you
# say otherwise (created if absent; no password is set here -- run
# `passwd` for it yourself).
# 6. clone Pull MeshTerm with the READ-ONLY GitHub deploy key over SSH.
# 7. venv + install A venv + `pip install -e .`. pip's C builds hit ENOSPC because /tmp
# is a tiny RAM tmpfs, so TMPDIR is redirected to $HOME/tmp on /data.
# 8. PATH Put the venv's `meshterm` on meshterm's login PATH via ~/.profile.
# 8. PATH Put the venv's `meshterm` on that user's login PATH via ~/.profile.
# 9. console font Hand off to calculinux-console-font.sh (braille + node glyphs +
# rounded frame corners + the list cursor the bare console can't draw).
#