Add user to "sudo" group only
This commit is contained in:
parent
6738b0284d
commit
4e6d521cf1
1 changed files with 1 additions and 3 deletions
4
build.sh
4
build.sh
|
@ -285,9 +285,7 @@ systemctl enable resize2fs_once
|
|||
EOF
|
||||
|
||||
on_chroot << \EOF
|
||||
for GRP in adm dialout cdrom audio users sudo video games plugdev netdev; do
|
||||
adduser $USERNAME $GRP
|
||||
done
|
||||
adduser $USERNAME sudo
|
||||
EOF
|
||||
|
||||
on_chroot << EOF
|
||||
|
|
Reference in a new issue