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