Hi all, 

bmcsetup seems to have a bug where it will pull multiple
userid's if the username contains the same name. Example: 

[xCAT
Genesis running on node1 /bin]# ipmitool -d 0 user list 1
ID Name Callin
Link Auth IPMI Msg Channel Priv Limit
1 true false true ADMINISTRATOR
2
ADMIN false false true ADMINISTRATOR
3 foo true false true
ADMINISTRATOR
4 foo1 true false true ADMINISTRATOR 

Current script,
"foo" is the configured IPMI user: 

[xCAT Genesis running on node1
/bin]# ipmitool -d 0 user list 1 | grep -v '^ID' | awk '{print $1 " "
$2}' | grep ' foo' | gawk '{print $1}'
3
4

Proposed fix: 

[xCAT
Genesis running on perth1 /bin]# ipmitool -d 0 user list 1 | grep -v
'^ID' | awk '{print $1 " " $2}' | grep -w 'foo' | gawk '{print
$1}'
3

Thoughts / comments? 

Thanks! 
 
------------------------------------------------------------------------------
Start Your Social Network Today - Download eXo Platform
Build your Enterprise Intranet with eXo Platform Software
Java Based Open Source Intranet - Social, Extensible, Cloud Ready
Get Started Now And Turn Your Intranet Into A Collaboration Platform
http://p.sf.net/sfu/ExoPlatform
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to