当前位置: 首页 > news >正文

【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文件保留,重启后可以直接远程访问控制台
http://www.cnnetsun.cn/news/3471867.html

相关文章:

  • 超图建模实战:解决多人协作、多维事件与高阶关联的工程指南
  • Android进阶学习路径与优质博客推荐
  • Google Colab 工作流重构:从临时环境到可复现云开发体系
  • GPT-5.6全面开放:多智能体协作与成本效益突破
  • Stylus——修改豆包网页版的外观
  • LDA、QDA与朴素贝叶斯:三类经典分类器的侦探式解读
  • 市面上规格尺寸齐全的LPDDR芯片测试治具公司
  • 数据结构(C语言版)学习日记(5)
  • Eclipse创建Android项目全指南:从环境搭建到运行调试
  • PySpark MLlib文本分类实战:大规模分布式特征工程与上线指南
  • #AI篇:Qoder的使用流程
  • 业绩一好就膨胀加人,然后赔惨了——用血泪换来的教训
  • DS1302实时时钟芯片应用与优化指南
  • openEuler 裸机安装 MySQL 8.0 并配置远程连接
  • Winform开发:使用CefSharp在窗体应用中嵌入网页(高德地图嵌入Winform)
  • Python办公自动化实战:提升效率300%的核心技巧
  • 多维数据聚合:从SQL GROUP BY到OLAP立方体的工程实践
  • Isaac Lab强化学习实战:Unitree Go2四足机器人金字塔阶梯课程学习
  • 【MAI Gateway|AI网关】我把 Codex 的 Key 从电脑里拿走之后,研发接入反而更简单了
  • RK3588音频开发:libmedia链路API详解与实战优化
  • Python多平台数据采集工具MediaCrawler架构与反爬策略
  • 机器学习模型生产化:从Notebook到高可用风控系统的四大支柱
  • 生产级机器学习系统设计:从模型正确性到系统韧性
  • 影刀RPA 文本文件的读写:TXT、CSV、JSON的读取与写入
  • M5 Mac Mini推迟发布:开发者该如何选择M4还是等待M5?
  • Kotlin 与 Java 互操作:混合工程里的平台类型与 API 边界
  • 人形机器人26小时自主工作实录:系统架构、算法与工程实践全解析
  • 机器人智能进化史:从反射控制到具身基础模型的技术演进与实战选择
  • Linux命令(3) | 小白零基础快速上手
  • 大语言模型全流程技术解析与工程实践