IPMI User Management (Reset, Create, Delete, Privileges) Using ipmitool on Ubuntu

IPMI User Management (Reset, Create, Delete, Privileges) Using ipmitool on Ubuntu

1. Prerequisites

  1. Ubuntu system with sudo access and ipmitool installed
  2. Local BMC access (/dev/ipmi0) or remote BMC IP
  3. Maintenance window recommended
  4. Confirm correct User ID before modifying

2. Install and Validate ipmitool

2.1 Install
bash
  1. sudo apt update
  2. sudo apt install -y ipmitool

2.2 Load IPMI driver
bash
  1. sudo modprobe ipmi_devintf
2.3 Verify BMC access
bash
  1. sudo ipmitool mc info
If remote:
bash
  1. ipmitool -I lanplus -H <BMC-IP> -U <user> -P <pass> mc info

3. List Existing IPMI Users

bash
  1. sudo ipmitool user list 1
Typical output:
Code
ID  Name         Callin  Link Auth  IPMI Msg   Channel Priv Limit
1   ADMIN        true    true       true       ADMINISTRATOR
2   root         true    true       true       ADMINISTRATOR
3   testuser     true    true       true       USER

4. Reset Password for an Existing User

Local
bash
  1. sudo ipmitool user set password 2 'New Password'
Remote
bash
  1. ipmitool -I lanplus -H <BMC-IP> -U <current-user> -P <current-pass> user set password 2 'New Password'

5. Create a New Admin User (If Locked Out)

5.1 Set username
bash
  1. sudo ipmitool user set name 3 newadmin
5.2 Set password
bash
  1. sudo ipmitool user set password 3 'Admin@123'
5.3 Enable user
bash
  1. sudo ipmitool user enable 3
5.4 Assign Administrator privileges
bash
  1. sudo ipmitool channel setaccess 1 3 link=on ipmi=on callin=on privilege=4

6. Delete an IPMI User

IPMI does not “delete” users; instead, you disable and clear the slot.
Assume deleting User ID 3.
6.1 Disable user
bash
  1. sudo ipmitool user disable 3
6.2 Clear username
bash
  1. sudo ipmitool user set name 3 ""
6.3 Remove privileges
bash
  1. sudo ipmitool channel setaccess 1 3 link=off ipmi=off callin=off privilege=0

7. Enable Privileges for User 2

Privilege Levels
  1. 1 = Callback
  2. 2 = User
  3. 3 = Operator
  4. 4 = Administrator (standard)
  5. 5 = OEM
Set Administrator privilege
bash
  1. sudo ipmitool channel setaccess 1 2 link=on ipmi=on callin=on privilege=4
Enable user (if disabled)
bash
  1. sudo ipmitool user enable 2

8. Optional: Reset BMC

bash
  1. sudo ipmitool mc reset cold

9. Verification

9.1 Confirm user list
bash
  1. sudo ipmitool user list 1
9.2 Remote login test
bash
  1. ipmitool -I lanplus -H <BMC-IP> -U <username> -P <password> mc info

10. Rollback Procedure

10.1 Revert privilege
bash
  1. sudo ipmitool channel setaccess 1 2 privilege=2
10.2 Disable user
bash
  1. sudo ipmitool user disable 2

11. Complete One‑Shot Command Block (All Operations)

bash:
sudo apt update
sudo apt install -y ipmitool
sudo modprobe ipmi_devintf
# List users
sudo ipmitool user list 1
# Reset password for user 2
sudo ipmitool user set password 2 'NewPass123'
# Create new admin user (ID 3)
sudo ipmitool user set name 3 newadmin
sudo ipmitool user set password 3 'Admin@123'
sudo ipmitool user enable 3
sudo ipmitool channel setaccess 1 3 link=on ipmi=on callin=on privilege=4
# Delete user ID 3
sudo ipmitool user disable 3
sudo ipmitool user set name 3 ""
sudo ipmitool channel setaccess 1 3 link=off ipmi=off callin=off privilege=0
# Enable privileges for user 2
sudo ipmitool user enable 2
sudo ipmitool channel setaccess 1 2 link=on ipmi=on callin=on privilege=4
# Optional BMC reset
sudo ipmitool mc reset 
    • Related Articles

    • ASUS BMC- Static IP Network Setup

      ASUS BMC—Static IP Network Setup Connect Network Cable Connect a network cable to the MGMT (Management) port. If the network has DHCP enabled, the server will automatically obtain an IP address. If DHCP is not enabled, follow the manual configuration ...
    • Fix: High-Resolution Display Issue on ASUS ESC N8-E11V OOB Management & Ubuntu Server 24.04

      When using the ASUS ESC N8-E11V server with Out-of-Band (OOB) Management via BMC (Baseboard Management Controller), users have reported that: The remote KVM session (accessed via HTTPS GUI) defaults to an unusually high resolution (1920x1200), ...
    • Configuring BMC in ASUS Server

      To configure the Baseboard Management Controller (BMC) IP address on an ASUS server, initially access the server's BIOS/UEFI settings and then configure the BMC network settings. Here's a step-by-step instructions Server BMC Configuration preparation ...
    • Troubleshooting Supermicro HGX BMC to Inband Communication Issues

      Issue Description The Supermicro HGX system’s BMC is not communicating with the host OS over the Inband channel. This prevents access to BMC functionalities such as sensor readings, firmware updates, and IPMI commands from the operating system. ...
    • What is BMC and How to generate BMC Logs

      BMC (Baseboard Management Controller) The Baseboard Management Controller (BMC) is a specialized microcontroller embedded on a server’s motherboard that enables remote management and monitoring of the server's hardware, even when the server is ...
    • Popular Articles

    • CP Plus Camera and NVR Configuration

      NVR Configuration The CP Plus Pro Series of NVRs have been meticulously designed for providing you with upgraded performance and higher recording quality in your IP video surveillance solution. The robust processor that has been inculcated in this ...
    • Kerberos Authentication – Overview

      What is Kerberos? Kerberos is a secure authentication method used in our Active Directory (AD) environment (mbuzztech.com). It allows users to: Access multiple systems without re-entering passwords (Single Sign-On – SSO) Log in once Where We Use It ...
    • How to Remove and Reinstall NVIDIA Drivers on Ubuntu

      This article provides step by step guide to completely remove existing NVIDIA drivers and reinstall specific version of the NVIDIA driver on the Ubuntu system Prerequisites Administrative (sudo) access to the Ubuntu system. Internet access to ...
    • Personal Computers and Servers - Classification and Point of Contact

      We can classify the computers that MBUZZ handles based on their form-factor as below: Tower Workstations, Desktops, Gaming PCs and SFF (Small form factor) PCs fall under this category. These are computers people would use on a desk and rarely move. ...
    • M.2 SSD Tier List

      The sequential read and write speeds, which are usually the most advertised number, are not a proper benchmark of real-world performance or the quality of an SSD. This article categorizes and tiers SSDs based on factors like the type of NAND flash, ...