image-specs/debos/scripts/setup-user.sh
Romain Perier c245be293e Add debos recipe for raspberrypi ARM64-based boards
This adds a debos recipe for building a desktop image for a ARM64-based
RaspberryPi. It include a lightweight desktop, that is LXDE, create a
default user "pi" that has sudo access rights. As on Raspbian, the "pi"
user is automatically logged in via lightdm. The buster debian splash is
also automatically enabled
2019-11-25 12:21:06 +01:00

9 lines
116 B
Bash
Executable File

#!/bin/sh
set -e
adduser --gecos pi --disabled-password pi
adduser pi sudo
echo "pi:pi" | chpasswd
passwd -l root