From 3263ea3875564c36e8affaa5f58d9a2a6992c054 Mon Sep 17 00:00:00 2001 From: bin456789 Date: Tue, 4 Nov 2025 21:54:21 +0800 Subject: [PATCH] =?UTF-8?q?core:=20=E6=94=B9=E6=88=90=E4=BD=BF=E7=94=A8=20?= =?UTF-8?q?/dev/urandom=20=E4=BB=A5=E4=BF=AE=E5=A4=8D=E7=94=9F=E6=88=90?= =?UTF-8?q?=E9=9A=8F=E6=9C=BA=E5=AF=86=E7=A0=81=E6=97=B6=E9=98=BB=E5=A1=9E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit fixes #469 fixes #471 --- reinstall.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/reinstall.sh b/reinstall.sh index a937749..5c63188 100644 --- a/reinstall.sh +++ b/reinstall.sh @@ -2343,10 +2343,6 @@ prompt_password() { warn false "Leave blank to use a random password." warn false "不填写则使用随机密码" while true; do - # 特殊字符列表 - # https://learn.microsoft.com/previous-versions/windows/it-pro/windows-server-2012-r2-and-2012/hh994562(v=ws.11) - chars=\''A-Za-z0-9~!@#$%^&*_=+`|(){}[]:;"<>,.?/-' - random_password=$(tr -dc "$chars" ,.?/-' + password=$(tr -dc "$chars"