news 2026/7/18 3:59:13

【TongWeb7】M11开启远程访问控制台

作者头像

张小明

前端开发工程师

1.2k 24
文章封面图
【TongWeb7】M11开启远程访问控制台

背景:TongWeb7.0.4.9_M11增加出厂默认访问安全策略。

  • 默认仅本机可访问TongWeb控制台。只有修改控制台所有用户默认密码后,才可开启远程访问。

启动服务后访问控制台会提示

通过命令行对开启控制台远程访问进行设置

  1. 启动TW服务,命令行需要访问9060端口进行操作

  2. 首次使用“cli”用户时,需要使用“change-admin-password”修改密码。

    默认密码:cli123.com

[root@localhost bin]# pwd /opt/TongWeb7.0.4.9_M11_Enterprise_Linux/bin [root@localhost bin]# [root@localhost bin]# ./commandstool.sh change-admin-password Please enter the admin user name>cli Please enter the old admin password>cli123.com Please enter the new admin password>Zxc124.com Please enter the new admin password again>Zxc124.com Command change-admin-password executed successfully. [root@localhost bin]#
  1. 开启console远程访问
    注:第一次必须修改四个用户的默认密码!才能开启成功
    四个用户分别为系统管理员(thanos)、安全保密管理员(security)、安全审计员(auditor)、监视管理员(monitor)
[root@localhost bin]# ./commandstool.sh update-console-remote-access --thanosPassword=Zxc124.com --securityPassword=Zxc124.com --auditorPassword=Zxc124.com --monitorPassword=Zxc124.com remotePlease enter the admin user name>cli Please enter the admin password>Zxc124.com ************************ Console accesstypeissetto: remote Password update summary - updated users:[thanos, security, auditor, monitor], ignoredusers(already changed before):[none]. ************************ Command update-console-remote-access executed successfully.[root@localhost bin]#
  • 关闭console远程访问
[root@localhost bin]# ./commandstool.sh update-console-remote-access localPlease enter the admin user name>cli Please enter the admin password>Zxc124.com ************************ Console accesstypeissetto:local************************ Command update-console-remote-access executed successfully.[root@localhost bin]#
  1. 开启heimdall远程访问
    注:第一次必须修改四个用户的默认密码!才能开启成功
    四个用户分别为系统管理员(rig)、安全保密管理员(secadm)、安全审计员(audit)、监视管理员(monitor)
[root@localhost bin]# ./commandstool.sh update-heimdall-remote-access --rigPassword=Zxc124.com --secadmPassword=Zxc124.com --auditPassword=Zxc124.com --monitorPassword=Zxc124.com remotePlease enter the admin user name>cli Please enter the admin password>Zxc124.com ************************ heimdall accesstypeissetto: remote Password update summary - updated users:[rig, secadm, audit, monitor], ignoredusers(already changed before):[none]. ************************ Command update-heimdall-remote-access executed successfully.[root@localhost bin]#
  • 关闭heimdall远程访问
[root@localhost bin]# ./commandstool.sh update-heimdall-remote-access localPlease enter the admin user name>cli Please enter the admin password>Zxc124.com ************************ heimdall accesstypeissetto:local************************ Command update-heimdall-remote-access executed successfully.[root@localhost bin]#
  1. cli用户的远程访问
[root@localhost bin]# ./commandstool.sh update-cli-remote-access remotePlease enter the admin user name>cli Please enter the admin password>Zxc124.com ************************ Cli accesstypeissetto:remote ************************ Command update-cli-remote-access executed successfully.[root@localhost bin]# ./commandstool.sh update-cli-remote-access localPlease enter the admin user name>cli Please enter the admin password>Zxc124.com ************************ Cli accesstypeissetto:local************************ Command update-cli-remote-access executed successfully.[root@localhost bin]#
  1. 修改后刷新页面注意地址是/console,不应该是/console/localerror.jsp
    ,7. 生成的相关配置在conf/security/remote-access.properties 下,动态密钥加密,不可拷贝使用
  2. 如果忘记控制台密码,通过删除twusers.properties.bak、heimdall-users.properties.bak文件,,并覆盖conf/security/下的twusers.properties、heimdall-users.properties 文件来恢复默认密码,只要remote-access.properties文件保留,重启后可以直接远程访问控制台
版权声明: 本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若内容造成侵权/违法违规/事实不符,请联系邮箱:809451989@qq.com进行投诉反馈,一经查实,立即删除!
网站建设 2026/7/18 3:58:38

超图建模实战:解决多人协作、多维事件与高阶关联的工程指南

1. 超图到底是什么?别被数学符号吓退,它其实就是“多人协作关系”的自然表达你有没有遇到过这种场景:在推荐系统里,用户A、B、C同时点了同一款小众咖啡豆,但传统图模型只能两两连边——A-B、B-C、A-C。可问题来了&…

作者头像 李华
网站建设 2026/7/18 3:57:37

Android进阶学习路径与优质博客推荐

1. Android进阶学习路径与优质博客推荐作为一名在Android开发领域摸爬滚打多年的老手,我深知系统化学习路径和优质学习资源的重要性。今天想和大家分享我在Android进阶过程中发现的那些真正有价值的开发者博客,这些内容帮助我从一个只会写简单界面的初级…

作者头像 李华
网站建设 2026/7/18 3:56:57

Google Colab 工作流重构:从临时环境到可复现云开发体系

1. 为什么说“用好 Colab”不是技巧问题,而是工作流重构问题Google Colab 不是云端的 Jupyter Notebook 简单复刻,它是一套带资源调度、身份绑定、存储桥接和异步 I/O 的轻量级云开发环境。我从 2019 年起在高校实验室带学生做 CV 项目,后来在…

作者头像 李华
网站建设 2026/7/18 3:56:23

GPT-5.6全面开放:多智能体协作与成本效益突破

GPT-5.6正式全面开放使用,这是OpenAI在2026年7月9日发布的最新前沿智能模型系列。作为GPT-5.5的升级版本,GPT-5.6在编码、知识工作、网络安全和科学研究等多个领域实现了性能突破,同时显著提升了token效率和成本效益。这次发布的GPT-5.6系列包…

作者头像 李华
网站建设 2026/7/18 3:55:06

Stylus——修改豆包网页版的外观

筛选条件 前缀:www.doubao.com 代码 .mb-9.hover\:bg-dbx-fill-trans-20-hover.cursor-pointer.text-dbx-text-tertiary.border-dbx-line-10.text-14.px-10.bg-dbx-fill-trans-20.border-\[0\.5px\].rounded-dbx-lg.gap-8.items-center.h-36.flex{display: none !im…

作者头像 李华
网站建设 2026/7/18 3:54:49

LDA、QDA与朴素贝叶斯:三类经典分类器的侦探式解读

1. 项目概述:当分类模型化身刑侦探员,用统计学逻辑破案 你有没有想过,一个看似冰冷的机器学习分类器,其实和福尔摩斯、波洛、金田一这些经典侦探角色共享着同一种底层思维模式?它们都不靠直觉,不靠运气&…

作者头像 李华