mirror of
https://github.com/bohanyang/debi.git
synced 2026-09-26 22:16:11 +00:00
Update
This commit is contained in:
+1
-1
@@ -329,7 +329,7 @@ if [ "$skip_account_setup" != true ]; then
|
|||||||
EOF
|
EOF
|
||||||
|
|
||||||
if [ "$username" = root ]; then
|
if [ "$username" = root ]; then
|
||||||
_late_command "sed -ri 's/^#?PermitRootLogin .+/PermitRootLogin yes/' /etc/ssh/sshd_config"
|
_late_command 'sed -ri "s/^#?PermitRootLogin .+/PermitRootLogin yes/" /etc/ssh/sshd_config'
|
||||||
$save_preseed << EOF
|
$save_preseed << EOF
|
||||||
d-i passwd/root-login boolean true
|
d-i passwd/root-login boolean true
|
||||||
d-i passwd/make-user boolean false
|
d-i passwd/make-user boolean false
|
||||||
|
|||||||
Reference in New Issue
Block a user