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
NVE 将在没有密码的情况下继续运行。在下一次升级(特别是 19.12.x 及更高版本)期间,将提示您创建新密码;从而重新启用密码保护
Affected Products
NetWorker Family, NetWorkerArticle Properties
Article Number: 000333905
Article Type: How To
Last Modified: 03 Nov 2025
Version: 3
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.