NVE:如何重置 SSH Rootid 密码
Summary: 通过删除 rootid_key 和 rootid_passphrase_encrypted 文件并重新生成密钥,在 NetWorker Virtual Edition (NVE) 中重置 Secure Shell (SSH) rootid 密码。
This article applies to
This article does not apply to
This article is not tied to any specific product.
Not all product versions are identified in this article.
Instructions
提醒:本知识库文章的内容取自 NetWorker Virtual Edition 部署指南。NVE 部署指南可通过以下方式获得:适用于NetWorker的支持 |手册和文档
重置 SSH rootid 密码
按照以下步骤重置 SSH rootid passphrase 未知时:
- 以管理员用户 身份使用 SSH 登录 NVE 。
- 通过输入以下命令切换到 root 用户
sudo su。 - 删除
rootid_key和rootid_passphrase_encrypted文件中的文件/usr/local/networker文件夹中。 - 生成
rootid并且adminkey不带密码。 - 应用最新的
NVEUpgrade。
步骤 3 和步骤 4 的详细信息如下所示:
# Change directory to /usr/local/networker cd /usr/local/networker # Delete rootid_key and rootid_passphrase_encrypted files rm -rf rootid_key rootid_passphrase_encrypted # Generate rootid without passphrase ssh-keygen -q -t ecdsa -b 521 -N "" -C "root@`hostname`" -f /root/.ssh/rootid # Generate adminkey without passphrase ssh-keygen -q -t ecdsa -b 521 -N "" -C "admin@`hostname`" -f /home/admin/.ssh/admin_key
提醒:如果系统提示覆盖,请单击 是。
Additional Information
警告:本文中概述的过程将禁用 root 密码保护。要增强安全性,请升级到下一个 19.12+ NetWorker 版本。19.12+ 版本包括旨在使用密码重新启用 rootID 加密的功能,从而加强了安全措施。NVE 升级过程将重新启用密码保护。目前,除了 NVE 升级工作流之外,没有任何方法可以重新启用密码保护。
Affected Products
NetWorker Family, NetWorkerArticle Properties
Article Number: 000333905
Article Type: How To
Last Modified: 09 فبراير 2026
Version: 4
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.