Просмотр исходного кода

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

Adapting installer to code changes from https://github.com/serghey-rodin/vesta/commit/039a989fb243bd12ea329b1e64370c2dc0e65ae9 commit
dpeca 9 лет назад
Родитель
Сommit
ce5a304814
1 измененных файлов с 2 добавлено и 1 удалено
  1. 2 1
      install/vst-install-debian.sh

+ 2 - 1
install/vst-install-debian.sh

@@ -613,8 +613,9 @@ rm -f /etc/cron.d/awstats
 # Set directory color
 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 "/usr/sbin/nologin" >> /etc/shells
 
 # NTP Synchronization
 echo '#!/bin/sh' > /etc/cron.daily/ntpdate