I want to generate a root password for my LEDE based router on my Debian Linux machine, but I'm failing.
I've tried the following ways but those gave a result that doesn't match the existing, known root password in the /etc/shadow file.
mkpasswd -5 my_password
makepasswd --clearfrom=- --crypt-md5 <<< my_password
Could anyone help me how to generate such encrypted password that goes to /etc/shadow ?
Thanks,
Levente