

1、找到路径
2、根据官方教程
SSH到上方的路径,每一个人的路径都是不一样的,我是alist3
root@XingluoNAS:~# cd /vol1/@appcenter/alist3/bin
plaintextroot@XingluoNAS:/vol1/@appcenter/alist3/bin# ./alist admin random
plaintextroot@XingluoNAS:~# cd /vol1/@appcenter/alist3/bin
root@XingluoNAS:/vol1/@appcenter/alist3/bin# ./alist admin random
INFO[2025-03-07 17:07:54] reading config file: data/config.json
INFO[2025-03-07 17:07:54] config file not exists, creating default config file
INFO[2025-03-07 17:07:54] load config from env with prefix: ALIST_
INFO[2025-03-07 17:07:54] init logrus...
INFO[2025-03-07 17:07:54] Successfully created the admin user and the initial password is: 9B0Y01Bm
INFO[2025-03-07 17:07:54] admin user has been updated:
INFO[2025-03-07 17:07:54] username: admin
INFO[2025-03-07 17:07:54] password: FqFTpIyO
ERRO[2025-03-07 17:07:54] [del_user_cache_online] error: token is invalidated
root@XingluoNAS:/vol1/@appcenter/alist3/bin#
plaintext