CN107894954A - A kind of automatic method for surveying BMC username and passwords - Google Patents
A kind of automatic method for surveying BMC username and passwords Download PDFInfo
- Publication number
- CN107894954A CN107894954A CN201711238798.3A CN201711238798A CN107894954A CN 107894954 A CN107894954 A CN 107894954A CN 201711238798 A CN201711238798 A CN 201711238798A CN 107894954 A CN107894954 A CN 107894954A
- Authority
- CN
- China
- Prior art keywords
- user
- bmc
- password
- passwords
- username
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3696—Methods or tools to render software testable
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Storage Device Security (AREA)
Abstract
The present invention provides a kind of automatic method for surveying BMC username and passwords, belong to BMC detection fields, the present invention is by using IPMI instruments, with reference to shell Script controllings, check the customized BMC username and passwords of every server automatically under linux system, to realize that automatic clamping closes, while reducing manpower testing cost, product quality is improved.
Description
Technical field
The present invention relates to BMC inspection technologies, more particularly to a kind of automatic method for surveying BMC username and passwords.
Background technology
BMC is called baseboard management controller, is independently of CPU, BIOS, and a kind of individually chip of operating system is realized.It is
One special service processor, it is driven using sensor to monitor a computer, the webserver, or other hardware
The state of dynamic equipment.As long as the mainboard of server switches on power, regardless of the state of server, long-range inspection can be provided
Survey, management and recover function, the reason for so as to assist system manager's rapid diagnostic system failure, in the time as short as possible
Inside resume work again.
Due to BMC be it is a kind of solely originate in the mini-system of operating system, need user name and close logging in BMC management systems
Code.Different clients unified management and control device for convenience in deployment services device equipment, can according to the demand of oneself and
Use habit customizes different BMC user names and password.Factory is when server apparatus produces, the visitor that is passed over according to front end
Family customizes BMC user names and password and carries out burning, for different clients BMC username and passwords demand, it is necessary to before dispatching from the factory
Do last examine to ensure to flow to that the machine in client's hand is brushed into correct value.Current trial has two kinds of solutions
Prior art 1:Not individually for the automatic inspection of BMC user name passwords;When version number is right it is assumed that brushing into correct.
The shortcomings that this scheme is exactly when refreshing write-in error, or brushes and obscures into file but version number is identical, can cause abnormal spill.
Prior art 2:For artificial nucleus to BMC username and passwords, such as accompanying drawing 1, this scheme needs BMC to network, first when dispatching from the factory
Artificial acquisition BMC IP address is first passed through, then is manually entered user and password, carries out Sign-On authentication.It is not only less efficient, simultaneously
Also easily error leakage.
The content of the invention
In order to solve the above technical problems, the present invention proposes a kind of automatic method for surveying BMC username and passwords.Pass through
Using IPMI instruments, with reference to shell Script controllings, the customized BMC user names of every server are checked automatically under linux system
And password, to realize that automatic clamping closes, while reducing manpower testing cost, improve product quality.
The present invention is based on linux system platform, develops BMC user names, and password reads and compares control script, utilizes IPMI
The function of instrument, currently practical used user name is tested with password, then determine to survey by judging its return value
Test result;Supporting exploitation database and maintenance of netpage interface simultaneously.
Concrete operation step is as follows:
(1)Main program is examined to call BMC user names and password test script check_bmc.sh under OS;
(2)Current machine user list to be measured is obtained by IPMI instruments;
(3)Judge whether user list is empty, and non-NULL then takes out first user name pointed by vernier, while vernier is toward moving down
Move once, then directly exited for sky;
(4)Assuming that the user of the taking-up is entitled " aa ", then use " aa " and the production ordering number corresponding to current test machine
To index condition, retrieve whether user list has corresponding matching value in database;
(5)If it is present taking out the standard cipher of " aa " from database, it is not present, then directly reports an error, return to step(3);
(6)Mechanism, ipmitool user test are detected using IPMITOOL tool users<user id> 16 <
password]>, attempt to log in;
(7)Judge return value, be that true prompting is correct, be that mistake is then prompted in vacation.Return to step(3)Perform;
(8)Repeat the above steps, until user's inspection finishes in list.
The beneficial effects of the invention are as follows
The present invention examines BMC username and passwords using system automation, improves the automatic test covering of customizing product
Rate, the customer complaint problem of doing over again that hand inspection low production efficiency and error trigger before improving, improves product quality.
Brief description of the drawings
Fig. 1 is the method flow diagram for surveying customizing BMC username and passwords automatically.
Embodiment
More detailed elaboration is carried out to present disclosure below:
The present invention is based on linux system platform, develops BMC user names, and password reads and compares control script, utilizes IPMI instruments
Function, currently practical used user name is tested with password, then by judge its return value determine test knot
Fruit.
Supporting exploitation database and maintenance of netpage interface simultaneously, realize the technical solution of the whole series, improve production efficiency
As illustrated, concrete operation step is as follows:
(1)Main program is examined to call BMC user names and password test script check_bmc.sh under OS;
(2)Current machine user list to be measured is obtained by IPMI instruments;
(3)Judge whether user list is empty, and non-NULL then takes out first user name pointed by vernier, while vernier is toward moving down
Move once, then directly exited for sky;
(4)Assuming that the user of the taking-up is entitled " aa ", then use " aa " and the production ordering number corresponding to current test machine
To index condition, retrieve whether user list has corresponding matching value in database;
(5)If it is present taking out the standard cipher of " aa " from database, it is not present, then directly reports an error, return to step(3);
(6)Mechanism, ipmitool user test are detected using IPMITOOL tool users<user id> 16 <
password]>, attempt to log in;
(7)Judge return value, be that true prompting is correct, be that mistake is then prompted in vacation.Return to step(3)Perform;
(8)Repeat the above steps, until user's inspection finishes in list.
The present invention devises examines BMC user names and the method for password automatically under Linux, without networking and manually grasping
Verify.
Claims (3)
- A kind of 1. automatic method for surveying BMC username and passwords, it is characterised in thatBy using IPMI instruments, with reference to shell Script controllings, check that every server is customized automatically under linux system BMC username and passwords, to realize that automatic clamping closes.
- 2. according to the method for claim 1, it is characterised in thatBased on linux system platform, BMC user names are developed, password reads and compares control script, utilizes the work(of IPMI instruments Can, currently practical used user name is tested with password, then test result is determined by judging its return value;Together When supporting exploitation database and maintenance of netpage interface.
- 3. according to the method for claim 2, it is characterised in thatConcrete operation step is as follows:(1)Main program is examined to call BMC user names and password test script check_bmc.sh under OS;(2)Current machine user list to be measured is obtained by IPMI instruments;(3)Judge whether user list is empty, and non-NULL then takes out first user name pointed by vernier, while vernier is toward moving down Move once, then directly exited for sky;(4)Assuming that the user of the taking-up is entitled " aa ", then use " aa " and the production ordering number corresponding to current test machine To index condition, retrieve whether user list has corresponding matching value in database;(5)If it is present taking out the standard cipher of " aa " from database, it is not present, then directly reports an error, return to step(3);(6)Mechanism, ipmitool user test are detected using IPMITOOL tool users<user id> 16 < password]>, attempt to log in;(7)Judge return value, be that true prompting is correct, be that mistake is then prompted in vacation;Return to step(3)Perform;(8)Repeat the above steps, until user's inspection finishes in list.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711238798.3A CN107894954A (en) | 2017-11-30 | 2017-11-30 | A kind of automatic method for surveying BMC username and passwords |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711238798.3A CN107894954A (en) | 2017-11-30 | 2017-11-30 | A kind of automatic method for surveying BMC username and passwords |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107894954A true CN107894954A (en) | 2018-04-10 |
Family
ID=61806429
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711238798.3A Pending CN107894954A (en) | 2017-11-30 | 2017-11-30 | A kind of automatic method for surveying BMC username and passwords |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107894954A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109388442A (en) * | 2018-10-31 | 2019-02-26 | 郑州云海信息技术有限公司 | A kind of method, apparatus and computer equipment of batch configuration BMC user |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103970660A (en) * | 2014-05-19 | 2014-08-06 | 浪潮电子信息产业股份有限公司 | Total system stability automatic test method based on crontab |
US20160274994A1 (en) * | 2015-03-16 | 2016-09-22 | Microsoft Technology Licensing, Llc | Integration and automation of build and test in a customized computing system |
-
2017
- 2017-11-30 CN CN201711238798.3A patent/CN107894954A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103970660A (en) * | 2014-05-19 | 2014-08-06 | 浪潮电子信息产业股份有限公司 | Total system stability automatic test method based on crontab |
US20160274994A1 (en) * | 2015-03-16 | 2016-09-22 | Microsoft Technology Licensing, Llc | Integration and automation of build and test in a customized computing system |
Non-Patent Citations (1)
Title |
---|
MAMICODE.COM: "ipmitool批量验证BMC密码且修改密码", 《WWW.MAMICODE.COMINFO-DETAIL-1813242.HTML》 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109388442A (en) * | 2018-10-31 | 2019-02-26 | 郑州云海信息技术有限公司 | A kind of method, apparatus and computer equipment of batch configuration BMC user |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108650149B (en) | Server testing method, device, equipment and computer readable storage medium | |
CN103970650B (en) | Distributed testing method and device | |
CN108141385B (en) | Cloud-based system and method for managing test configuration of cable test equipment | |
CN110058998B (en) | Software testing method and device | |
CN104717337A (en) | Method for testing mobile application in batch and equipment used in method | |
CN106708716A (en) | Software testing method, device and system | |
CN105068900A (en) | Testing method for remote control server cold reboot | |
CN109446075A (en) | Interface testing method and device | |
CN104657270A (en) | Method and system for testing | |
CN103488562B (en) | Automated testing method and device | |
CN110134612A (en) | UI test data generating method, device, equipment and readable storage medium storing program for executing | |
CN106230857A (en) | A kind of active leakage location towards industrial control system and detection method | |
CN106059860A (en) | Method and device for testing network cards | |
CN106656927A (en) | Method and device for enabling Linux account to be added to AD domain | |
CN112448757A (en) | Port occupation testing method and system, user terminal, background system and medium | |
CN108540491A (en) | Semi-automatic Permeation Test System based on drive sweep and method | |
CN107894954A (en) | A kind of automatic method for surveying BMC username and passwords | |
CN109788052B (en) | Server configuration remote query method, device, terminal and storage medium | |
CN107526662A (en) | A kind of server radiating method of testing and system | |
CN108075933A (en) | A kind of network interworking test method and device | |
CN106612215A (en) | Integrated remote detection device and method based on Ethernet | |
CN112615848A (en) | Vulnerability repair state detection method and system | |
CN112114897A (en) | Parameter configuration method and device based on industrial control screen and computer equipment | |
CN105827462A (en) | Method and tool for detecting network device | |
CN113704763B (en) | Pipelined device scanning detection method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180410 |
|
RJ01 | Rejection of invention patent application after publication |