当前位置: 首页 > 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.jsqmd.com/news/1210861/

相关文章:

  • 人生的安全感来自于与时俱进地创造解决方案的能力。
  • Qwen3开源引爆MCP协议:大模型互操作新标准
  • ai-agent框架spring ai/alibaba 原理源码分析(五)graph III 图执行
  • 2026年7月通体磨石地坪/晶磨石地坪供应商推荐名单_浙江研翔新材料有限公司 - 行业平台推荐
  • 语义驱动知识图谱:替代传统思维导图的认知升维工具
  • 婚姻关系中的互惠失衡与愤怒转化:从负债感到隐性控制的三重路径与干预策略
  • 【A-59F】啸叫抑制全双工语音处理模组:15ms超低延迟防啸叫+100dB回音消除
  • SpringBoot+Vue全栈开发:sa-plus框架实战指南
  • Next.js 14核心特性与性能优化实战指南
  • 动漫日语敬语语气词翻译实测:くん様等称谓怎么处理最地道
  • PostgreSQL主键设计原理与实战:从选型到调优
  • 《系统分析师教程(第2版)》笔记——第 15 章 系统运行与维护
  • 主流技术栈版本升级策略:Spring Boot 3.x与Python 3.12实战解析
  • 200元DIY热成像系统:基于MLX90640与树莓派的低成本方案
  • RN 0.67与Swift混合开发实战指南
  • 【Linux】12:进程状态
  • 汽车行业数据治理:挑战、框架与实战解析
  • 【WX-0813】AI ENC语音处理模组(内置功放版):45-90dB降噪+100dB回音消除+5W双声道功放
  • 大模型技术之-RAG-搭建企业私有个人知识库
  • 统信UOS V25文件权限管理与安全编辑指南
  • Dify知识库检索技术:RAG原理与实战优化指南
  • C++温度转换:从基础实现到工程化设计的完整指南
  • 高端企业APP定制开发,如何筛选真正靠谱的软件服务商?
  • 人生与时俱进能力的庖丁解牛
  • Android DownloadManager实现应用自更新详解
  • TIM的综合使用(定时中断/输出比较/输入捕获)
  • 生物启发神经导航:用海马体计算实现AI路径整合与认知地图构建
  • Notion 类协作工具自托管:全球团队访问验收
  • 【ChatGPT比喻教学白皮书】:基于172个真实用户困惑案例提炼的6大核心比喻体系,含可下载类比对照速查表
  • Sa-Token框架实战:Java轻量级权限认证解决方案