Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(common-question): update password command #44

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 7 additions & 6 deletions docs/common-question.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,13 @@ PDF.js v2.12.305 (build: d3e1d7090)

### 密码忘了怎么办?

命令行 ./alist-xxxx -password查看。(其中的xxxx是指不同系统/架构对应的名称,一般Linux-x86/64是alist-linux-amd64,若使用脚本安装,则名称直接为alist)
> 具体对应到安装方式:
> - 脚本安装:安装时会输出初始密码,再次获取:`cd /opt/alist && ./alist -password`
> - 二进制手动安装:在程序所在目录执行:`./alist -password` (其中的alist指二进制文件名)
> - Docker:使用命令`docker exec -it alist ./alist -password` 查看密码
> - PaaS: 对应仓库查找查看密码的方法
执行命令重置密码:

```shell
./alist-xxxx admin set NEW_PASSWORD
```

其中的 `xxxx` 是指不同系统 / 架构对应的名称,一般 Linux-x86/64 是 alist-linux-amd64,若使用脚本安装,则名称直接为 alist

### 账号复制粘贴出错

Expand Down