mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2026-04-25 08:45:58 +03:00
[GH-ISSUE #22] 终端一直提示 Login incorrect #3111
Labels
No labels
Q/A
bug
casdoor
dependencies
docker
documentation
duplicate
enhancement
help wanted
invalid
lego
platform:openwrt
platform:windows
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/nginx-ui#3111
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @suiyueou on GitHub (Jul 24, 2022).
Original GitHub issue: https://github.com/0xJacky/nginx-ui/issues/22
刚刚心血来潮想试试 Nginx UI 附带的终端,但是发现用户和密码正确的情况下,一直都是提示 Login incorrect,是因为部署在了 Docker 容器里还是为什么嘞(~
@0xJacky commented on GitHub (Jul 24, 2022):
使用 Docker 部署的话,终端只能登录到容器内(因此不推荐使用 Docker部署
对于容器部署,需要先进入容器执行 passwd sshd 设置密码,然后可以用 sshd 账号和设置的密码登录
后续考虑对于容器部署自动登录终端
@suiyueou commented on GitHub (Jul 24, 2022):
喔!原来如此(~
@0xJacky commented on GitHub (Jul 24, 2022):
刚更新的镜像已支持修改 WebShell 启动命令,可以在 app.ini 中增加
StartCmd=bash即可覆盖原有的 login 指令。@suiyueou commented on GitHub (Jul 24, 2022):
好耶!我一会回窝了就去试试(~
@suiyueou commented on GitHub (Jul 24, 2022):
可以啦!太棒啦(~