|
发表于 2024-3-23 02:09:00
|
显示全部楼层
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
( Y, b3 Q ?2 D9 h5 J. o0 Q5 i$ yIf you are running an R21 version firmware on this device and it's CHINA TELECOM CUSTOMIZED:
5 \; O) W/ v4 T- f+ X8 m& vType this command and press enter:Then enter the password and press enter: upt
: }, |6 @. _( m5 K& S9 l' W(the password will not be displayed in the console)
/ G* X( x1 g8 P. i( l) c4 v( FIn the saf console, type the following command and press enter:
* D0 r& F$ o0 ^. W: BCopy & paste the following content in the console, press enter, then press ctrl+d:+ T3 ^6 v; p/ H6 Y
- 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./ A0 A( g c, G q z, [- `' f. w8 X
Login to the shell again, then use /bin/su instead of su.
& w" H: h; I# P5 u( _$ h" ~Type this command in the console:; @$ U8 j p, C* S/ _& }( f5 v
If returns 'root', then that's it. Enjoy it :) |
|