#!/bin/sh
set -eu

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'