mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 02:28:05 -07:00
Register /sbin/nologin
This commit is contained in:
parent
12a7181dc8
commit
2bcbfeaad0
1 changed files with 3 additions and 0 deletions
|
@ -404,6 +404,9 @@ rm -f /etc/cron.d/awstats
|
|||
# Set directory color
|
||||
echo 'LS_COLORS="$LS_COLORS:di=00;33"' >> /etc/profile
|
||||
|
||||
# Register /sbin/nologin
|
||||
echo "/sbin/nologin" >> /etc/shells
|
||||
|
||||
# Sudo configuration
|
||||
wget $CHOST/$VERSION/sudoers.conf -O /etc/sudoers
|
||||
chmod 0440 /etc/sudoers
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue