This question already has an answer here:
Having another Linux system mounted on
AFAIK passwords are stored there in second file of
I'd like to set new password there. How to generate hash, which I can put there into second filed of desired row?
Btw. Is there nowadays one standard way of hashing passwords across Linux systems? I've checked on my three setups with different distributions and for same passwords I have same hashes.
passwd -R /sys2- option
-Rdoes not do the job for me. I do not have all mounts for chrooting. And system I mount is arm, and I mount it on x86.
passwd -r ...- I couldn't figure out how to use
-r repositoryoption to work for me.