Skip to content

Commit ce5a304

Browse files
authored
Debian installer: adding /usr/sbin/nologin to /etc/shells
Adapting installer to code changes from outroll/vesta@039a989 commit
1 parent 5500f3c commit ce5a304

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

install/vst-install-debian.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -613,8 +613,9 @@ rm -f /etc/cron.d/awstats
613613
# Set directory color
614614
echo 'LS_COLORS="$LS_COLORS:di=00;33"' >> /etc/profile
615615

616-
# Register /sbin/nologin
616+
# Register /sbin/nologin and /usr/sbin/nologin
617617
echo "/sbin/nologin" >> /etc/shells
618+
echo "/usr/sbin/nologin" >> /etc/shells
618619

619620
# NTP Synchronization
620621
echo '#!/bin/sh' > /etc/cron.daily/ntpdate

0 commit comments

Comments
 (0)