Skip to content

Commit 2aadc3d

Browse files
Add new user 'qcom' with sudo privileges and preset password
Signed-off-by: Bjordis Collaku <[email protected]>
1 parent 3f2174c commit 2aadc3d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

rootfs/scripts/build-ubuntu-rootfs.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -474,6 +474,10 @@ echo '[CHROOT] Installing custom firmware and kernel...'
474474
dpkg -i /$(basename "$FIRMWARE_DEB")
475475
yes \"\" | dpkg -i /$(basename "$KERNEL_DEB")
476476
477+
adduser --disabled-password --gecos '' qcom
478+
echo 'qcom:qcom' | chpasswd
479+
usermod -aG sudo qcom
480+
477481
echo '[CHROOT] Installing manifest packages (if any)...'
478482
/install_manifest_pkgs.sh || true
479483

0 commit comments

Comments
 (0)