Tim,

Using the GetUserAccess command, if the 4th byte returned has the 0x10
bit on, the user is enabled for IPMI.  This method is valid for all IPMI
1.5 and 2.0 systems.

Sample output from ipmiutil, showing this:
  Users:  showing 4 of max 15 users (3 enabled)
  User Access(chan1,user1): 0f 03 01 14 : IPMI, Admin  () 
  User Access(chan1,user2): 0f 03 01 14 : IPMI, Admin  (admin)
  User Access(chan1,user3): 0f 03 01 14 : IPMI, Admin  (root)
  User Access(chan1,user4): 0f 03 01 0f : No access ()

Andy

-----Original Message-----
From: Al Chu [mailto:ch...@llnl.gov] 
Sent: Monday, August 17, 2009 12:28 PM
To: Tim Bell
Cc: ipmitool-devel@lists.sourceforge.net
Subject: Re: [Ipmitool-devel] Query if a user is enabled or disabled

On Sat, 2009-08-15 at 08:59 +0200, Tim Bell wrote:
> Is there a way to tell if a user is enabled or disabled ? I can enable

> or disable a user but I'm not sure how to ask the status ?
> 
> Maybe this would be useful to add to the user list functionality if 
> there is a way in IPMI to ask for this ?

The functionality does indeed exist in IPMI.  However, it was added in
an IPMI errata (E269), so it won't exist on all motherboards.

Al

> Tim Bell
> CERN
> 
> 
>
------------------------------------------------------------------------
------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
30-Day 
> trial. Simplify your report design, integration and deployment - and
focus on 
> what you do best, core application coding. Discover what's new with 
> Crystal Reports now.  http://*p.sf.net/sfu/bobj-july
> _______________________________________________
> Ipmitool-devel mailing list
> Ipmitool-devel@lists.sourceforge.net
> https://*lists.sourceforge.net/lists/listinfo/ipmitool-devel
> 
-- 
Albert Chu
ch...@llnl.gov
Computer Scientist
High Performance Systems Division
Lawrence Livermore National Laboratory


------------------------------------------------------------------------
------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008
30-Day 
trial. Simplify your report design, integration and deployment - and
focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Ipmitool-devel mailing list
Ipmitool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ipmitool-devel



------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Ipmitool-devel mailing list
Ipmitool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ipmitool-devel

Reply via email to