From cc8e2f2234669070ab5049e2ced70e89d33be930 Mon Sep 17 00:00:00 2001 From: Disassembler Date: Fri, 30 Jun 2017 18:05:48 +0200 Subject: [PATCH] Add git to basic packages Remove default user --- basic.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/basic.sh b/basic.sh index 85404cf..d3c3668 100644 --- a/basic.sh +++ b/basic.sh @@ -6,11 +6,11 @@ SOURCE_DIR=$(realpath $(dirname "${0}")) apt-get -y purge bsdmainutils dictionaries-common emacsen-common gnupg gnupg-agent iamerican ibritish ienglish-common installation-report ispell laptop-detect nano os-prober pinentry-curses task-english tasksel tasksel-data wamerican # Install useful packages -apt-get -y --no-install-recommends install bash-completion ca-certificates ntp openssl sudo unzip +apt-get -y --no-install-recommends install bash-completion ca-certificates git ntp openssl sudo unzip ###### -# OpenSSH +# OpenSSH and user settings ##### # Install OpenSSH server @@ -20,6 +20,8 @@ apt-get -y --no-install-recommends install openssh-server cp ${SOURCE_DIR}/basic/root/.bashrc /root/.bashrc cp ${SOURCE_DIR}/basic/root/.ssh/authorized_keys /root/.ssh/authorized_keys +# Remove default user +deluser --remove-all-files user 2>/dev/null ##### # System boot