From what I can see of the IPMI specs, the ability to query was introduced in 2006 (http://download.intel.com/design/servers/ipmi/IPMI2_0E4_Markup_061209.pdf).
Would it make sense to then include it now into ipmitool ? There is a basic functionality of 0 (i.e. unknown), 1 (enabled), 2(disabled). I guess the choice is between adding an extra 'status' command for the user which reports enable or disable (better for backward compatibility) or adding a new column to user list (clearer but would break a script which relies on $NF being the access rights). Any preferences ? I'll code up the patch based on the recommendations since there is already an _reserved2 field which has the 2 bits concerned in user_access_rsp. Tim Andy Cress wrote: > 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 >> >> ------------------------------------------------------------------------------ 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