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

账户问题(account表) #132

Open
GoldenSunZ opened this issue Feb 4, 2023 · 3 comments
Open

账户问题(account表) #132

GoldenSunZ opened this issue Feb 4, 2023 · 3 comments

Comments

@GoldenSunZ
Copy link

Environment

rtty

  • arch:
  • os:
  • version:

rttys

  • arch: amd64
  • os: Debian
  • version: 10

Description

Formating code blocks by wrapping them with pairs of ```

你好,赵工!
1、rttys服务端为什么重启后,之前注册的账户都不能登录了,必须重新注册(查看rttys.db文件里面account表是存在之前注册的账户的),这是什么原因呢?
2、rttys服务内置了test账户,是管理员账户吗?(这个账户不受服务重启影响)?
3、设备绑定账户后,对应关系维护的表也没有看到,目前只能看到三个表(account、config、device),绑定关系存储在哪?
image

@GoldenSunZ
Copy link
Author

Environment

rtty

  • arch:
  • os:
  • version:

rttys

  • arch: amd64
  • os: Debian
  • version: 10

Description

Formating code blocks by wrapping them with pairs of ```

你好,赵工! 1、rttys服务端为什么重启后,之前注册的账户都不能登录了,必须重新注册(查看rttys.db文件里面account表是存在之前注册的账户的),这是什么原因呢? 2、rttys服务内置了test账户,是管理员账户吗?(这个账户不受服务重启影响)? 3、设备绑定账户后,对应关系维护的表也没有看到,目前只能看到三个表(account、config、device),绑定关系存储在哪? image

这个account数据存储位置默认目录,是不是执行文件rttys 对应目录下的rttys.db文件呢?(这边新注册个用户,发现该目录下的rttys.db文件没有任何变化)—— rttys是通过systemctl配置的服务脚本后台运行的

@GoldenSunZ
Copy link
Author

服务状态如下:
image

@zhaojh329
Copy link
Owner

zhaojh329 commented Feb 4, 2023

db默认是在 rttys 执行文件同目录。可通过配置文件或者命令行参数修改。
绑定关系在 device 表中。
首次注册的用户即为管理员。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants