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

群晖使用SPK7套件源安装的DDNS-GO忘记了密码如何重置? #1197

Open
yul9359 opened this issue Jul 23, 2024 · 6 comments
Open
Labels
bug Something isn't working

Comments

@yul9359
Copy link

yul9359 commented Jul 23, 2024

Description

群晖使用SPK7套件源安装的DDNS-GO忘记了密码如何重置?已在/volume1/@appdata/DDNS-GO/中找到了密码,但是是加密的,无法解密,请问该如何解密或重置密码,感谢!

DNS Provider

No response

Did you search for similar issues before submitting this one?

Yes, I did, but I didn't find anything useful

Operating System

Linux

Architecture

x86_64

Version

6.6.5

How are you running ddns-go?

Other

Any other information

No response

@yul9359 yul9359 added the bug Something isn't working label Jul 23, 2024
@jeessy2
Copy link
Owner

jeessy2 commented Jul 23, 2024

编辑文件,把账号密码删除,然后重启ddns-go

./ddns-go -resetPassword 123456

@tbc0309
Copy link

tbc0309 commented Aug 1, 2024

停用套件,配置文件里面的密码改成明文再启动即可。或:

#停用套件,SSH执行下面的,重置密码为admin123,再启动套件生效,密码会被自动加密
sed -i 's/password: .*/password: admin123/g' /var/packages/DDNS-GO/var/ddns-go.yaml
#用户名也忘记了???
sed -i 's/username: .*/username: admin/g' /var/packages/DDNS-GO/var/ddns-go.yaml

@jeessy2
Copy link
Owner

jeessy2 commented Aug 1, 2024

停用套件,配置文件里面的密码改成明文再启动即可。或:

#停用套件,SSH执行下面的,重置密码为admin123,再启动套件生效,密码会被自动加密
sed -i 's/password: .*/password: admin123/g' /var/packages/DDNS-GO/var/ddns-go.yaml
#用户名也忘记了???
sed -i 's/username: .*/username: admin/g' /var/packages/DDNS-GO/var/ddns-go.yaml

新版密码是加密了的,都可以?

@tbc0309
Copy link

tbc0309 commented Aug 1, 2024

停用套件,配置文件里面的密码改成明文再启动即可。或:

#停用套件,SSH执行下面的,重置密码为admin123,再启动套件生效,密码会被自动加密

sed -i 's/password: .*/password: admin123/g' /var/packages/DDNS-GO/var/ddns-go.yaml

#用户名也忘记了???

sed -i 's/username: .*/username: admin/g' /var/packages/DDNS-GO/var/ddns-go.yaml

新版密码是加密了的,都可以?

脚本骚操作 改成明文的,启动后会被再次加密

@jeessy2
Copy link
Owner

jeessy2 commented Aug 1, 2024

可以可以

@yul9359
Copy link
Author

yul9359 commented Aug 2, 2024

编辑文件,把账号密码删除,然后重启ddns-go

./ddns-go -resetPassword 123456

通过删除密码解决了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants