mirror of
https://github.com/bohanyang/debi.git
synced 2026-09-27 06:26:15 +00:00
Update
This commit is contained in:
@@ -350,6 +350,7 @@ EOF
|
||||
echo "d-i passwd/root-password-crypted password $password" | $save_preseed
|
||||
fi
|
||||
else
|
||||
_late_command 'sed -ri "s/^#?PermitRootLogin .+/PermitRootLogin no/" /etc/ssh/sshd_config'
|
||||
$save_preseed << EOF
|
||||
d-i passwd/root-login boolean false
|
||||
d-i passwd/make-user boolean true
|
||||
|
||||
Reference in New Issue
Block a user