diff --git a/live_exam_os/config/03-post_install/9998-admin-mode.sh.disabled b/live_exam_os/config/03-post_install/9998-admin-mode.sh.disabled new file mode 100755 index 0000000000000000000000000000000000000000..96b816bc2b78c1a896f16046efee6e04ab0791c2 --- /dev/null +++ b/live_exam_os/config/03-post_install/9998-admin-mode.sh.disabled @@ -0,0 +1,9 @@ +#/bin/bash + +. tools/functions.sh + +echo " [Admin stuff...]" +run_command_chroot usermod -aG sudo user +run_command_chroot apt install -y xfce4-terminal +run_command_chroot chmod a=rx,u+ws /usr/bin/sudo +echo "user:0" | chroot "$ROOTFS_DIR" /usr/sbin/chpasswd