From 254e9545a13e98df8960ce4a9861098da1da6339 Mon Sep 17 00:00:00 2001 From: Jeffery Date: Tue, 28 Jul 2026 15:59:39 +0000 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20Service=EF=BC=9AOpenClaw?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Service%EF%BC%9AOpenClaw.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Service%EF%BC%9AOpenClaw.md b/Service%EF%BC%9AOpenClaw.md index 31da1a4..b9e7979 100644 --- a/Service%EF%BC%9AOpenClaw.md +++ b/Service%EF%BC%9AOpenClaw.md @@ -40,4 +40,14 @@ sudo loginctl enable-linger $USER ```bash openclaw gateway status --port 18789 +``` + +# 設定 OpenClaw 密碼 + +```bash +echo "$(openssl rand -hex 32)" > openclaw-token +``` + +```bash +openclaw config set gateway.auth.token "$(cat openclaw-token)" ``` \ No newline at end of file