websoft9/docs/user.md

47 lines
1.4 KiB
Markdown
Raw Normal View History

2023-07-26 02:25:03 +00:00
# User Guide
## FAQ
#### user can not sudo?
```
2023-07-26 09:48:16 +00:00
# add user to sudo/admin group (select one command)
2023-07-26 02:25:03 +00:00
usermod -aG wheel username
2023-07-26 09:48:16 +00:00
usermod -aG sudo username
2023-07-26 02:25:03 +00:00
# sudo not need to input password
```
2023-10-07 08:00:55 +00:00
#### Can not login with correct credential?
Many reason may make you login failed with the correct credential:
- Cookie at you browser if IP change, need to clear cookie
- *.override.json is not correct
- TLS certificate
- User not allowed login, need to modify ssh_config file
2023-07-26 02:25:03 +00:00
2023-10-07 08:00:55 +00:00
More details, you can get it from `sudo grep cockpit /var/log/messages`
2023-10-06 03:19:57 +00:00
#### How to modify Websoft9 port?
2023-11-30 05:47:23 +00:00
Access web console > settings or use cli to modify port
#### 当服务器IP怎么办
服务器 IP 变更Websoft9 控制台能够自动适用,即使用新的 IP 访问即可。
2023-12-04 10:56:34 +00:00
但是,部分没有绑定域名的应用不能自动适用,即当应用无法访问时,您需要需要重新编排应用,将 env 中的 W9_URL 更换新的 IP 后,重建应用。
#### 如何创建多用户并赋予权限?
Websoft9 控制台 > 【用户账号】菜单中创建用户,创建完成后在面板中将新用户增加到 docker 用户组中。
如果需要给用户添加 sudo需要通过命令 visudo 将下面的内容增加到 sudoers 文件中(user001 表示您新创建的用户名)
```
user001 ALL=(ALL:ALL) ALL
2023-12-05 04:07:39 +00:00
```
#### appstore 502 error?
Try `docker restart websoft9-proxy` to solved it