Skip to content

Commit 2bcbfea

Browse files
committed
Register /sbin/nologin
1 parent 12a7181 commit 2bcbfea

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

install/vst-install-ubuntu.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -404,6 +404,9 @@ rm -f /etc/cron.d/awstats
404404
# Set directory color
405405
echo 'LS_COLORS="$LS_COLORS:di=00;33"' >> /etc/profile
406406

407+
# Register /sbin/nologin
408+
echo "/sbin/nologin" >> /etc/shells
409+
407410
# Sudo configuration
408411
wget $CHOST/$VERSION/sudoers.conf -O /etc/sudoers
409412
chmod 0440 /etc/sudoers

0 commit comments

Comments
 (0)