fix login failure

This commit is contained in:
2026-10-01 19:20:02 +03:00
parent 315311d160
commit 281e1ca87d
8 changed files with 44 additions and 2 deletions
@@ -1,4 +1,10 @@
#!/bin/sh
set -eu
printf '%s\n' 'eraser:eperaser' | chpasswd
if ! id eraser >/dev/null 2>&1; then
echo 'live-config did not create the eraser account' >&2
exit 1
fi
printf '%s\n' 'eraser:eperaser' | chpasswd
echo 'Password configured for eraser'