Skip to content
This repository was archived by the owner on Jul 15, 2025. It is now read-only.

Commit 2fd2f5f

Browse files
authored
fix: add to tty group
1 parent 03a81b6 commit 2fd2f5f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bootstrap/users.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ done
1313

1414
adduser -s /bin/ash -D $FIRST_USER_NAME
1515

16-
for GRP in adm dialout cdrom audio users video games input gpio spi i2c netdev; do
16+
for GRP in adm dialout cdrom audio users video games input tty gpio spi i2c netdev; do
1717
adduser $FIRST_USER_NAME $GRP
1818
done
1919

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

0 commit comments

Comments
 (0)