Skip to content

Commit

Permalink
install adduser
Browse files Browse the repository at this point in the history
  • Loading branch information
adeebshihadeh committed Nov 18, 2023
1 parent 4678273 commit 4efb136
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions userspace/base_setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,15 @@ HOST=comma
touch /TICI
touch /AGNOS

# Add armhf as supported architecture
dpkg --add-architecture armhf

# Install packages
export DEBIAN_FRONTEND=noninteractive
apt-get update
apt-get install -yq locales systemd adduser
adduser $USERNAME systemd-journal

# Create privileged user
useradd -G sudo -m -s /bin/bash $USERNAME
echo "$USERNAME:$PASSWD" | chpasswd
Expand All @@ -22,15 +31,6 @@ adduser $USERNAME audio
adduser $USERNAME disk
adduser $USERNAME dialout

# Add armhf as supported architecture
dpkg --add-architecture armhf

# Install packages
export DEBIAN_FRONTEND=noninteractive
apt-get update
apt-get install -yq locales systemd
adduser $USERNAME systemd-journal

# Enable serial console on UART
systemctl enable [email protected]

Expand Down

0 comments on commit 4efb136

Please sign in to comment.