Skip to content
Snippets Groups Projects
Commit 9e769adc authored by ping's avatar ping
Browse files

Add admin mode script, disabled by default

parent ec5caffc
No related branches found
No related tags found
No related merge requests found
#/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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment