Skip to content

Commit

Permalink
fix: add to tty group
Browse files Browse the repository at this point in the history
  • Loading branch information
knoopx authored Jul 2, 2021
1 parent 03a81b6 commit 2fd2f5f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bootstrap/users.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ done

adduser -s /bin/ash -D $FIRST_USER_NAME

for GRP in adm dialout cdrom audio users video games input gpio spi i2c netdev; do
for GRP in adm dialout cdrom audio users video games input tty gpio spi i2c netdev; do
adduser $FIRST_USER_NAME $GRP
done

echo "$FIRST_USER_NAME:$FIRST_USER_PASS" | /usr/sbin/chpasswd
echo "$FIRST_USER_NAME ALL=NOPASSWD: ALL" >> /etc/sudoers
echo "$FIRST_USER_NAME ALL=NOPASSWD: ALL" >> /etc/sudoers

0 comments on commit 2fd2f5f

Please sign in to comment.