I assembled one many years ago Heiqunhui NAS The power on time is very short, and it is occasionally used as a cold backup memory for videos and photos. Recently, when I re login to the system management page of Heiqunhui, I tried my password more than a dozen times, and all of them prompted me that the password was wrong.
If it is genuine Qunhui NAS, you can press the physical key "RESET" for five seconds to reset the password, but Black Qunhui does not have this function and can only reinstall the system. But I have several terabytes of valuable data on my hard disk, so I don't want to risk losing data to reinstall the debugging system and installation kit... So, does Black Qunhui equipment have a simple way to reset the password? After my search for information, I really have it!
How can I reset the password if the device of Heiqunhui has forgotten the password?
First, remove the hard disk of Heiqunhui and attach it to the computer. If the computer does not have or is not convenient to use the SATA interface, an external hard disk base can be used, which supports 2.5 and 3.5 inch SATA interfaces.
Product recommendation: 2.5/3.5-inch SATA interface external hard disk base
Next, use the DiskGenius software to find the shadow file in the/etc folder in the root directory of the Black Qunhui hard disk. Copy a copy to the desktop, use Any text editor Open the shadow file.
(Access password: 2278. Unregistered and standard versions do not support functions such as writing files to hidden partitions)
Then, search your user name. If my user name is meledee, you can find a lot of encrypted password fields. The user name and password are separated by ":", and the password is marked in red——
meledee: $6$FQKxGjkf$NaqjNUFSGDFGgfdgdFGdFGdfgDGdfgDFGdfdfgFGDSGDFSGDGDSDFGDFGS DFrp2M6iR3kfA/Eg/ :19532:0:99999:7:::
Replace the following encrypted fields with the password fields marked red above, save and overwrite the original file, and then your password will become one hundred and twenty-three million four hundred and fifty-six thousand seven hundred and eighty-nine 。
$6$n/atIskPWx$BTDud6vnw5pKQLcm4vHd3BEOBlh5ovSw3Iv9pMhW6BFWvCH5DNIIQFsqwfj1Oxi4WeexYfmHFPHHxyZ9XWImz1
Finally, put the hard disk back into Heiqunhui, log in to the system again and change the password again.