Hello
I know it's been years since anyone used this discussion but I am desperate.
I have a box and I was able to telnet to and in the tweaking section I was able to do the following
2 Add password protection for root user
You can add password authentication for user root using this magic commands:
mv /etc/passwd /etc/passwd.old
cat /etc/passwd.old | grep -v root::0 > /etc/passwd
echo root:PqnSB08FmjvCY`cat /etc/passwd.old | grep root::0 | cut -f 2- -d:` » /etc/passwd
Unfortunately I didn't pay attention and I forgot to replace the "PqnSB08FmjvCY" part with my Crypted password.
so no I am locked out of root(my device doesn't allow me access to the linux partition through USB)
I have default user access.
I need the actual password for PqnSB08FmjvCY (assuming it is an actual crypted password)
thank you