Black Qunhui Forgot your password, reinstall, and reset the system?

1. Forgot password reset

1. Connect the hard drive to the computer, use Diskgenius5.x professional version to open the hard drive, locate etc/shadow, and copy it to the desktop.

Diskgenius5.x Professional Edition: Baidu2794821374.png

2. Use Notepad or Notepad++ to open shadow

First line:

admin:$6$MuewnMMD$t0XQfRd6uFRVQjXPZ3RG7Sa3bXKCH3CCuogj393Fb5884IHSYvMnhBAZkHAuVYAVWwVOeha3QrtbWNuKT0zzj/:17532:0:99999:7:::

in:

$6$MuewnMMD$t0XQfRd6uFRVQjXPZ3RG7Sa3bXKCH3CCuogj393Fb5884IHSYvMnhBAZkHAuVYAVWwVOeha3QrtbWNuKT0zzj/

It is an encrypted password. For example, the plain text of my password is: 123456. Replace your password with this paragraph, save it after modification, and then use diskgenus to copy it back.3626214165.png

1388650619.pngFor X86, you can try this: the plain text is also 123456

$6$9npZKDypX.W$GLmHRiIBUVdkuGgrbig46Q8HQSXTGDA.540o1CCCfLoSVw5fcfK55P4fvHKmCJef.SK4PuyElhS.PAs9KscOa.

2. Reinstall the system and reset the system

1. Reinstall the system: Only reinstall the system and retain all data.

1.1. Remember password

Open ssh, log in with username and password, enter the following code, press Enter to execute, you will be prompted to enter the password of the NAS again, after the execution is completed, it will prompt Success, then enter reboot to restart to reinstall (it is best to shut down and restart).

sudo /usr/syno/sbin/synodsdefault --reinstall
reboot

1.2. Forgot password or did not open ssh

You can connect the hard disk to the computer, use diskgenius to delete the file as shown in the figure, and insert it back to prompt to reinstall the system.4287078940.png

2. Reset the system: It is equivalent to the reset in the control panel and will clear all data on the hard disk.

sudo /usr/syno/sbin/synodsdefault --factory-default
reboot

Newsletter Updates

Enter your email address below and subscribe to our newsletter