Skip to content

Commit 7b841b4

Browse files
committed
clean up term settings
1 parent 0d15605 commit 7b841b4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

assets/all/addNonRootUser.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@ if [[ -z "${INITIAL_VNC_PASSWORD}" ]]; then
1111
fi
1212

1313
if [ ! -d "/home/$INITIAL_USERNAME" ]; then
14+
sed -i 's/force_color_prompt=/#force_color_prompt=/g' /etc/skel/.bashrc
1415
useradd $INITIAL_USERNAME -s /bin/bash -m -u 2000
1516
echo $INITIAL_USERNAME:$INITIAL_PASSWORD | chpasswd
1617
chsh -s /bin/bash $INITIAL_USERNAME
18+
touch /home/$INITIAL_USERNAME/.hushlogin
1719
fi

0 commit comments

Comments
 (0)