Debian installer: adding /usr/sbin/nologin to /etc/shells

Adapting installer to code changes from 039a989fb2 commit
This commit is contained in:
dpeca 2017-02-08 14:39:53 +01:00 committed by GitHub
commit ce5a304814

View file

@ -613,8 +613,9 @@ rm -f /etc/cron.d/awstats
# Set directory color # Set directory color
echo 'LS_COLORS="$LS_COLORS:di=00;33"' >> /etc/profile echo 'LS_COLORS="$LS_COLORS:di=00;33"' >> /etc/profile
# Register /sbin/nologin # Register /sbin/nologin and /usr/sbin/nologin
echo "/sbin/nologin" >> /etc/shells echo "/sbin/nologin" >> /etc/shells
echo "/usr/sbin/nologin" >> /etc/shells
# NTP Synchronization # NTP Synchronization
echo '#!/bin/sh' > /etc/cron.daily/ntpdate echo '#!/bin/sh' > /etc/cron.daily/ntpdate