Documentation ¶
Overview ¶
Package ipmi interacts with the platform BMC. User privileges can be checked, passwords changed, MACs retrieved, etc.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type IpmiUser ¶
func (IpmiUser) GuessEnabled ¶
func (IpmiUser) HasAdminPriv ¶
func (IpmiUser) SetPassword ¶
type IpmiUsers ¶
type IpmiUsers []*IpmiUser
func ListUsers ¶
func ListUsers() (users IpmiUsers)
List users.
WARNING: cannot tell whether a user is enabled on a given channel - so don't use IsEnabled or OnlyEnabled on returned list
func (IpmiUsers) OnlyEnabled ¶
filter out accounts that aren't enabled
func (IpmiUsers) OnlyNamedAdmin ¶
filter out accounts except those named "ADMIN","admin","Administrator", etc
func (IpmiUsers) OnlyPrivileged ¶
filter out accounts without admin privileges
Click to show internal directories.
Click to hide internal directories.