Sample Header Ad - 728x90

Manually generate password for /etc/shadow

184 votes
10 answers
438778 views
I need to manually edit /etc/shadow to change the root password inside of a virtual machine image. Is there a command-line tool that takes a password and generates an /etc/shadow compatible password hash on standard out?
Asked by Lorin Hochstein (8605 rep)
Jun 30, 2013, 05:41 PM
Last activity: Nov 19, 2023, 04:00 AM