Importing the Weak Password Dictionary (weakpwddic -v import)
Function
The weakpwddic -v import command is used to import the weak password dictionary to the iBMC.
Format
ipmcset -t user -d weakpwddic -v import <filepath | file_URL>
Parameters
Parameter |
Description |
Value |
---|---|---|
filepath |
Source directory of the weak password dictionary in the iBMC file system. |
An absolute directory, for example /tmp/weakpwddictionary. |
file_URL |
Source directory of the weak password dictionary on a remote device. |
The format is as follows: protocol://[username:password@]IP:[port]/directory/filename Where,
Example value: https://root:Huawei12#$@10.10.10.1:443/tmp/weakpwddictionary |
Usage Guidelines
Only the administrators and the custom users with security management rights can import the weak password dictionary.
Before running this command, use a file transfer tool supporting SFTP (for example WinSCP) to transfer the file to be imported to the specified directory (for example /tmp) of the iBMC file system.
Example
# Import the weak password dictionary.
iBMC:/-> ipmcset -t user -d weakpwddic -v import /tmp/weakpwddictionary Import weak password dictionary successfully.