mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-20 21:34:11 -07:00
Debian installer: adding /usr/sbin/nologin to /etc/shells
Adapting installer to code changes from 039a989fb2
commit
This commit is contained in:
parent
5500f3c2bd
commit
ce5a304814
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue