Secure Login Passwords When Using ipmitool
The ipmitool
command utility provides a broad range of management capabilities. When using ipmitool
from the Oracle Solaris operating system to access a remote service processor, do not include the login password using the -P
option in the command line or script as other Oracle Solaris users might be able to see it.
Instead, create a separate text file that contains only the password and use one of the following options when issuing a command or script that requires a login password:
Option | Description |
---|---|
|
Specifies a file containing the remote Oracle ILOM service processor user account password. For example: # ipmitool -U root -f password.txt -H hostname bmc info
Where hostname is the host name
or common name (when using a certificate) of the target service processor
and If the password_file argument for this option is absent or the file is empty, the password will default to NULL. |
|
If a single hyphen character ("-") is used in place of password_file, the password can be read from either piped or redirected standard input. Example: # ipmitool -U root -f - -H hostname bmc info < password.txt
Where hostname is the host name
or common name (when using a certificate) of the target service processor
and |
For additional information on using ipmitool
, refer to the man page.
Parent topic: Securing Oracle Hardware Management Pack