Dell VxRail - 如何使用 SSH 和 RACADM 命令變更 iDRAC 使用者權限

Summary: 如何使用 SSH 和 RACADM 命令變更 iDRAC 使用者權限。 如果您失去管理員權限,我們可以透過 RACADM 使用其他 vxpsvc 系統管理員使用者來變更權限。

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

1.以根使用者登入 iDRAC UI (即使沒有系統管理員權限),並驗證使用者 ID。
  • 在此範例中,我們更改測試用戶的許可權 ID 5。
  • 如果您沒有使用 UI 登入 iDRAC 的權限,可直接從主機使用 SSH 登入來完成。
  • 如果您有透過 UI 的存取,則 ID 位於 iDRAC 設定使用者標籤中的使用者旁邊。

IDRAC 設定頁面的圖片
  • 如果您無法存取 UI,您必須透過 SSH 登入主機,然後執行命令以尋找使用者 ID:
/opt/vxrail/tools/ipmitool user list 1
命令 ipmitool 使用者清單 1 的圖片

2.找到使用者 ID 後,請直接以 vxpsvc 使用者登入 RACADM:
/opt/vxrail/bin/remotecmd -oStrictHostKeyChecking=no -oUserKnownHostsFile=/dev/null -oPubkeyAuthentication=yes -oPasswordAuthentication=no -i /etc/ssh/ssh_host_rsa_key -l vxpsvc 169.254.0.1

3.若要將使用者角色變更為系統管理員權限,請執行下列命令:
set iDRAC.Users 5 privilege 0x000001ff
  • 在這種情況下,許可權0x000001ff 是管理員許可權,但還有其他可能的許可權。請參閱下表文件連結:
Integrated Dell Remote Access Controller 9 RACADM CLI 指南
角色組權限和位遮罩表的圖片
  • 如果您要比較兩個使用者之間的權限,請執行下列命令:
get iDRAC.Users 5
命令 get iDRAC 的輸出圖片。使用者 5
 
 

Affected Products

iDRAC8, iDRAC9
Article Properties
Article Number: 000221901
Article Type: How To
Last Modified: 16 Jul 2025
Version:  4
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.