|
发表于 2024-3-23 02:10:08
|
显示全部楼层
WARNING: I'M NOT RESPONSIBLE FOR ANY PROBLEM CAUSED BY THE FOLLOWING OPERATIONS. USE THIS INSTRCTIONS AT YOUR OWN RISK. ONLY TESTED ON MODEL HS8145X6 VERSION V500R021C00S115
If you are running an R21 version firmware on this device and it's CHINA TELECOM CUSTOMIZED:
Type this command and press enter:Then enter the password and press enter: upt
(the password will not be displayed in the console)
In the saf console, type the following command and press enter:
Copy & paste the following content in the console, press enter, then press ctrl+d:
- sed -i '/^root/{s%/sbin/nologin%/bin/sh%;s%^root:[^:]*:%root::%}' /e8cvar/passwd
复制代码 Press ctrl+a q to exit the saf console, then type reboot and press enter to reboot your device.
Login to the shell again, then use /bin/su instead of su.
Type this command in the console:
If returns 'root', then that's it. Enjoy it :) |
|