Revert "No ubuntu user, disallow root login, root shell on tty1"
This reverts commit 64e8cc5aacd60c748213ca891f5503d379d18786.
diff --git a/ubuntu-14.04/scripts/base.sh b/ubuntu-14.04/scripts/base.sh
index 73af61c..43e6360 100644
--- a/ubuntu-14.04/scripts/base.sh
+++ b/ubuntu-14.04/scripts/base.sh
@@ -17,7 +17,7 @@
apt-get purge -y linux-image-* linux-headers-*
apt-get install -y linux-generic-lts-utopic
-apt-get -y autoremove --purge
+apt-get autoremove --purge
# Setup cloud-init
apt-get -y install cloud-init
diff --git a/ubuntu-14.04/scripts/cleanup.sh b/ubuntu-14.04/scripts/cleanup.sh
index 9793e9b..ae0b269 100644
--- a/ubuntu-14.04/scripts/cleanup.sh
+++ b/ubuntu-14.04/scripts/cleanup.sh
@@ -1,4 +1,4 @@
-apt-get -y autoremove --purge
+apt-get -y autoremove
apt-get -y clean
echo "cleaning up guest additions"
diff --git a/ubuntu-14.04/scripts/security.sh b/ubuntu-14.04/scripts/security.sh
deleted file mode 100644
index 7dd89b6..0000000
--- a/ubuntu-14.04/scripts/security.sh
+++ /dev/null
@@ -1,9 +0,0 @@
-# Auto login root on tty1
-sed -i 's|/sbin/getty|/sbin/getty --autologin root|g' /etc/init/tty1.conf
-
-# Disable password root login
-usermod -p '!' root
-
-# Disable SSH password authentication and permit root login
-sed -i 's|[#]*PasswordAuthentication yes|PasswordAuthentication no|g' /etc/ssh/sshd_config
-sed -i 's|[#]*PermitRootLogin no|PermitRootLogin yes|g' /etc/ssh/sshd_config