From 2bcbfeaad08e2863f123f61a548c807f2590e881 Mon Sep 17 00:00:00 2001 From: Serghey Rodin Date: Sat, 12 Oct 2013 13:38:37 +0300 Subject: [PATCH] Register /sbin/nologin --- install/vst-install-ubuntu.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/install/vst-install-ubuntu.sh b/install/vst-install-ubuntu.sh index 422ea4722..d9a7c11a0 100644 --- a/install/vst-install-ubuntu.sh +++ b/install/vst-install-ubuntu.sh @@ -404,6 +404,9 @@ rm -f /etc/cron.d/awstats # Set directory color echo 'LS_COLORS="$LS_COLORS:di=00;33"' >> /etc/profile +# Register /sbin/nologin +echo "/sbin/nologin" >> /etc/shells + # Sudo configuration wget $CHOST/$VERSION/sudoers.conf -O /etc/sudoers chmod 0440 /etc/sudoers